I have a visual force input box

<apex:pageBlockSectionItem rendered="{!displayDayCount}">
    X=<apex:inputText value="{!recurringTaskLPP.dayCount}" />

The class recurringTaskLpp has this for getter and setter

public string dayCount { get; set; }

Now in the controller when I try to access the input box then I get the value as null. I have made the object of the recurring task in the controller constructor and now to access it in the controller recurringTaskObject.dayCount. but it always give null. can someone tell why

  • can you please post the controller code along this Commented Jun 30, 2016 at 21:08

1 Answer 1


try like this

< apex:inputText value="{!dayCount}" />
  • This answer has already been deleted once.
    – Adrian Larson
    Commented Jul 1, 2016 at 5:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .