|
I am using validators within my form – when a
validation error occurs, all the form fields are cleared when the validation
error messages are displayed? If there are not validation errors,
everything is passed to the bean correctly. The issue only occurs when
there is a validation error and the original form is re-rendered with all the
previously inputted fields cleared (want fields to remain intact so user can
correct)? This is my first validator, however, I must be missing
something obvious? Example validators: <h:inputText id="lastname"
value="#{enrollispbean.lastname}" required="true"> and, <h:inputText id="email1" value="#{enrollispbean.email1}" required="true">
<t:validateEmail /> </h:inputText> enrollispbean is a managed bean: <managed-bean> <managed-bean-name>enrollispbean</managed-bean-name> <managed-bean-class>com.domain.EnrollIspBean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> |
- form fields clearing on validation errors Tom Butler
- RE: form fields clearing on validation errors Tom Butler
- Re: form fields clearing on validation errors Dennis Byrne

