| Author |
inputText : Validator
|
MaheshS Kumbhar
Ranch Hand
Joined: Sep 24, 2009
Posts: 188
|
|
In <h:inputText id='"UserNo" validator=""#{UserNumber.validate}/>
Here for validator attribute which is method binding expression, the method should have non-void return type as per the Spec.
Then how do we get to know the result of validation from such method that doesn't return anything?
|
I am slow but sure
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14568
|
|
Look at the tag docs again for the validate attribute:
Validators don't return things. They either exit normally or they throw ValidationExceptions.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: inputText : Validator
|
|
|