This should be done in onValidate() i think.
see http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html
for the rest of the validation.

Unfortunately the onValidate is not explained there.

2007/9/25, Josh Penza <[EMAIL PROTECTED]>:
>  I have a question about validation in Tapestry 5
>
> My page contains two components. A textfield and a select.
>
> These components are related and only one of them has to be filled in.
> When the textfield has a value, then the select value is ignored. And when
> the select has a value, then the textfield is ignored.
>
> How can I validate this?
>


-- 
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to