Forums Register Login

Custom Validator for required field.

+Pie Number of slices to send: Send
Hello all,
Can anyone please tell me ho to override the validator for the required field.
Instead of using required="true" I want to implement my validator for checking it.
+Pie Number of slices to send: Send
One way I've done this is to create a validate() method in your backing bean which can be called when the page posts.
[ February 26, 2008: Message edited by: Paul Morano ]
+Pie Number of slices to send: Send
"Paul M M", please check your private messages for an important administrative matter.
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1109 times.
Similar Threads
Struts2 validation localization problem
error in validation
struts2 field validator type boolean and all possible field types.
Struts 2 Validation
struts2 radio button validation
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:27:34.