|
Home > Archive > WebSphere Portal Server > November 2006 > faces validation - different actions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
faces validation - different actions
|
|
|
|
Hello togehter,
I got a question concerning faces validation.
I want to use my own validation classes and put a tag on the jsp, that the jsf-framework is validating my input fields, e.g. with a tag on the jsp similar to this one:
<h:inputText>
<f:validator validatorId="MyOwnValidatorClass" />
</h:inputText>
On this JSP, I got different actions. Is it now possible in some way that the validation is only execute on ONE specific action and not on the others?
Thanks in advance,
Borsti
| |
| yurykats 2006-11-15, 1:22 pm |
| If by 'action' you mean a command component (such as commandButton or commandLink), then you can make it skip all validation by setting 'immediate' attribute to true.
|
|
|
|
|