Validation problem
Hi, i am not user if this is a bug. But i have some strange behaviour in a standart inputtext with attribute required set to true. The problem is the following. I have registered a PaseListener that checks if a field is required or not. And if all required fields are set than the submit button is enabled. But what happens?
I have binding for every inputText and when I am in the phaseListener I check the UIInputText.isRequired() and if i have left the required field blank. This method returns FALSE after the field has been set to true in the JSP page.
Its like:
<h:inputtext binding="#{input1}" required="true">
<h:inputtext binding="#{input2}" required="true">
at the PaseListener I have
iter<UIInput>
while (iter.hasNext) {
input = iter.next
** if (input.required) {do something}
}
on the ** line it returns false for the field that has been left blank!!!!!! I am using ICEFaces with parial submit to true.
Thanks

