RE: Conditional validation

2006-05-01 Thread Bode, Bianca
l 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

Re: Conditional validation

2006-04-30 Thread Nick Westgate
Hi Bianca. I'm working in T3, but T4 still uses a validation delegate, so perhaps this might be helpful to you. To make things easier, I extended ValidationDelegate to add: public boolean isComponentInError(String componentName) { List trackings = getAssociatedTrackings();

RE: Conditional validation

2006-04-28 Thread Tony Herstell
gt; 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

Conditional validation

2006-04-28 Thread Bode, Bianca
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.

Re: conditional validation

2005-09-20 Thread Dan Diephouse
Dan Diephouse wrote: Kevin Menard wrote: On Sep 20, 2005, at 3:06 PM, Dan Diephouse wrote: Is there an easy way to make validation conditional? For instance I have a set of radio options. If the user chooses option1, I'd like the fields under option 1 to be validated. If they choose optio

Re: conditional validation

2005-09-20 Thread Dan Diephouse
Kevin Menard wrote: On Sep 20, 2005, at 3:06 PM, Dan Diephouse wrote: Is there an easy way to make validation conditional? For instance I have a set of radio options. If the user chooses option1, I'd like the fields under option 1 to be validated. If they choose option 2, I'd like the fie

Re: conditional validation

2005-09-20 Thread Kevin Menard
On Sep 20, 2005, at 3:06 PM, Dan Diephouse wrote: Is there an easy way to make validation conditional? For instance I have a set of radio options. If the user chooses option1, I'd like the fields under option 1 to be validated. If they choose option 2, I'd like the fields under option 2 to

RE: conditional validation

2005-09-20 Thread Jim McCollom
, constraint); To set the error and decorate the component. Hope that helped. Jim McCollom -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Dan Diephouse Sent: 20. september 2005 21:07 To: tapestry-user@jakarta.apache.org Subject: conditional validation Is there an

conditional validation

2005-09-20 Thread Dan Diephouse
Is there an easy way to make validation conditional? For instance I have a set of radio options. If the user chooses option1, I'd like the fields under option 1 to be validated. If they choose option 2, I'd like the fields under option 2 to be validated and so on. I looked a bit at the Require