This content has been marked as final.
Show 2 replies
-
1. Re: Actions on client side validation errors
vi_mahe_ka1 Jan 11, 2012 1:40 PM (in response to burberius)you can add different styleclasses based on some flag like an el expression
styleclass="#{M.b.flag?'normalStyle':'errorStyle'}"
same you can use for disabling the button
disabled="#{M.B.flag}"
u can use validators/ required attribute for some basic validations.
-
2. Re: Actions on client side validation errors
burberius Jan 12, 2012 1:59 AM (in response to vi_mahe_ka1)But your suggestion only works with server side validation, when the form is rerendered.
Is there some place where I can find those flags? I only found component.valid which only works for the input field.