Hi Ashish,
Use org.apache.tapestry.form.validator.Required on your component.
Thanks
*
*Ashish Raniwala wrote:
Hi Guys,
This should be a trivial question.
How do we do validation on NON ValidField components? e.g. If I use Upload
component and want to validate if user has entered a file name or not. How
do I do this?
One simple way could be to do serverside validation and have a message
property to show it if it is not null. Is this standard way? Or like
ValidField I can set the component on which validation message is thrown ?
Thanks,
Ashish
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]