After some research in the iceFaces forums I found out that partialSubmit by design disables all required=true settings on all the form's fields but the current one.
The question remains why required=true does not come back on subsequent form submits....
Mittwoch, 10. März 2010
ICEFaces validation and required="true"
Today I found out the following about ICEFaces 1.8.2 validation:
Thanks for comments and work arounds or clarifications.
- required="true" does not work whenever a partial submit is sent (e.g. by an user selecting a date with an ice:selectInputDate)
- as a consequence empty fields which have required="true" set just don't throw an validation error
- other validators trigger correctly
- this behaviour is even more problematic because in subsequent form submits (partial or complete ones) the required="true" behaviour does not come back, so it's possible to send the form without filling out the fields which are marked as required="true"
Thanks for comments and work arounds or clarifications.
Abonnieren
Kommentare (Atom)