Hi Guys, In Tapestry 3, I do not see parameter Validator for Upload component though I noticed that Tapestry 4 allows to add validator for Upload component. As we are still on Tapestry 3, is there is way I can achieve similar functionality? Thanks, Ashish
-----Original Message----- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 5:48 AM To: Tapestry users Subject: Re: Validation Also check out this thread http://thread.gmane.org/gmane.comp.java.tapestry.user/26820 It has a validator for filenames to be used with the Upload component sreejith wrote: > Hi Ashish , > You can use validators on components like Fileupload also. Use the > BaseValidator's required property on you 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
