Andy Chu wrote:

> Dear Friends,
>
> I am using tapestry-3.0.1. Suppose there is a ValidField, F1 in one
> Page. It is a REQUIRED field. For some reason, I need to disable the
> form validation temporarily. I use the following code segment to
> implement this in the form's listener.


You could write your own validator (extending the StringValidator for
example) and override the isRequired() and/or checkRequired(..) methods
to the conditions required by your application.

Regards,

Onno


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

Reply via email to