On Thu, 11 Apr 2013 04:54:18 -0300, mateen dar <matee...@gmail.com> wrote:
Hi,
Hi!
My Tapestry page contains a form bean.
What do you mean by form bean? 'Bean' is not a word we commonly use in
Tapestry stuff.
the FormBean contain a select box.
now the field validation of a textbox depends on the value in the form
bean. For a certain field, the input from the user is not required, but
for another value in the select box the field is required. How can i add
my
custom validation for a FormBean ?
The Form component triggers a 'validate' event, so add an onValidate()
method in your class. Example here:
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/mixedvalidation
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org