This content has been marked as final.
Show 6 replies
-
1. Re: Ajax cross-field bean validation.
lfryc Feb 27, 2012 3:40 PM (in response to tomek.f)Hi Tomek,
yes, it is possible using rich:graphValidator:
-
2. Re: Ajax cross-field bean validation.
tomek.f Feb 27, 2012 5:04 PM (in response to lfryc)Ok. But is it possible with input blur?
-
3. Re: Ajax cross-field bean validation.
sunkaram Feb 27, 2012 6:17 PM (in response to tomek.f)I think you can do it on blur of an input field..
-
4. Re: Ajax cross-field bean validation.
tomek.f Feb 28, 2012 3:42 AM (in response to sunkaram)Great but how? Iwas trying to achieve that with blur - it didn't work. At first other validators had been invoked and after that (with method validation @AssertTrue) method validator was invoked but only after submitting with commandButton.
-
5. Re: Ajax cross-field bean validation.
lfryc Feb 28, 2012 3:49 AM (in response to tomek.f)<h:inputText ...>
<a4j:ajax event="blur" />
</h:inputText>
should do the magic. :-)
-
6. Re: Ajax cross-field bean validation.
tomek.f Feb 28, 2012 6:43 AM (in response to lfryc)Yes but that is the problem. The meethod validator with AssertTrue isn't firing.