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 Jun 30 '16 at 21:08

try like this

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.