jsf - PrimeFace ajax resets all p:inputText -


hello friend iam trying use primeface ajax enable/disable submit button , works fine except resets p:inputtext . here code:-

<p:inputtext value="#{loginto.emailaddress}" id="emailadd" tabindex="1" required="true" maxlength="50"  requiredmessage="#{apploginparameter['apploginemailrequiredmsg']}" validatormessage="#apploginparameter['apploginemailincorrect']}">  </p:inputtext>  <p:selectbooleancheckbox id="esignaturecheckbox" value="#{loginto.userlogindetailto.resetesignflag}"                                         rendered="true" styleclass="acc-lable-name-check1"> <p:ajax  event="change" update="submitbutton"></p:ajax> </p:selectbooleancheckbox> 

please me on iam new in primefaces.

you missing opening { in:

validatormessage="#apploginparameter['apploginemailincorrect']}" 

should be:

validatormessage="#{apploginparameter['apploginemailincorrect']}" 

try , see if helps.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -