Too bad, I don't have the time right now to write a custom component, maybe in a few weeks I'll give it a try :) I already decided to handle this in the backend as this is the fastest solution for now.
I don't think this is a bug, more like a missing functionality, but I'll vote for it anyway :) Bianca -----Original Message----- From: Tony Herstell [mailto:[EMAIL PROTECTED] Sent: vrijdag 28 april 2006 22:51 To: 'Tapestry users' Subject: RE: Conditional validation I also asked for this kind of functionality and raised a formal Tap bug on it so vote for that... Jesse did a great job improving the Validation for Tap 4 but I believe what you want to do is still not possible on the front end; i.e. your solution is to catch this in back end validation and return the page with errors. I still have fields that are mandatory, but I hide them based on another field; this causes the validation in Tap4 to still say it needs to be filled in... so my ONLY solution to this is to turn the fields to NOT be mandatory. If I was a better programmer I would try to help Jessee and help fix these problems. Struts gives you "inter-field" validation like this... on the front end... I think it was something like <depends-on>... Tony. > -----Original Message----- > From: Bode, Bianca [mailto:[EMAIL PROTECTED] > Sent: Saturday, 29 April 2006 1:34 a.m. > To: Tapestry users > Subject: Conditional validation > > Hi all, > > I was wondering if anyone has ever done the following, and if so, how > :) > > The situation is pretty complex, but basically it comes down to this: > I want to validate an Insert component, but only if another component, > a CheckBox, is checked... > > Anyone? > > Kind regards, Bianca. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: > 28/04/2006 > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 28/04/2006 --------------------------------------------------------------------- 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]