RE: [appfuse-user] conditional validation

2008-06-09 Thread Anshu Dhamija
] Sent: Monday, June 09, 2008 7:13 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] conditional validation I believe the logic should be not equal rather than equal. I know it's confusing as it's the opposite of what you'd expect - but I believe that's how it works.

Re: [appfuse-user] conditional validation

2008-06-09 Thread Matt Raible
> > > Can anybody tell me where is my mistake > Regards > Anshu > > -Original Message- > From: Leo Barrientos C. [mailto:[EMAIL PROTECTED] > Sent: Friday, June 06, 2008 12:59 PM > To: users@appfuse.dev.java.net > Subject: Re: [appfuse-user] con

RE: [appfuse-user] conditional validation

2008-06-08 Thread Anshu Dhamija
Can anybody tell me where is my mistake Regards Anshu -Original Message- From: Leo Barrientos C. [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 12:59 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] conditional validation Better, an example for spring! Look this

Re: [appfuse-user] conditional validation

2008-06-06 Thread Leo Barrientos C.
quipo"); } } } Anshu Dhamija schrieb: Can you please provide a link for full explanation Regards Anshu -Original Message----- From: Leo Barrientos C. [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 12:42 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] con

[appfuse-user] conditional validation

2008-06-05 Thread Anshu Dhamija
Hi I have a drop down in which there are values along with "select category". "select category" will be selected by default now I want to apply validation that user need to select a value other than "select category" otherwise it should show validation error. Can anyone help me

Re: [appfuse-user] Conditional Validation

2007-07-11 Thread Msarda
I got it,it's working now. :) Thanks. mraible wrote: > > From > https://springmodules.dev.java.net/docs/reference/0.8/html_single/#commons-validator > : 17.1.2. Use a dedicated validation-rules.xml > > The file *validation-rules.xml* must contain Commons Validator elements > based on classes

Re: [appfuse-user] Conditional Validation

2007-07-11 Thread Msarda
I am not getting how to follow second approch of using validators property. Could you please give me some example. Thanks. mraible wrote: > > You may be able to use Commons Validator's ValidWhen: > > http://struts.apache.org/1.3.8/faqs/validator.html > > If that doesn't work, you can change y

Re: [appfuse-user] Conditional Validation

2007-07-10 Thread Matt Raible
From https://springmodules.dev.java.net/docs/reference/0.8/html_single/#commons-validator : 17.1.2. Use a dedicated validation-rules.xml The file *validation-rules.xml* must contain Commons Validator elements based on classes provided by the support of this framework in Spring Modules. For examp

Re: [appfuse-user] Conditional Validation

2007-07-10 Thread Msarda
When i am using validwhen,getting error as [TryEngagementForm1] ERROR [main] AbstractBeanValidator.validate(66) | Exception while validating object null org.apache.commons.validator.ValidatorException: No ValidatorAction named validwhen found for field typeOfReqSupportNo at org.apache.com

Re: [appfuse-user] Conditional Validation

2007-07-10 Thread Msarda
Thank you very much :) mraible wrote: > > You may be able to use Commons Validator's ValidWhen: > > http://struts.apache.org/1.3.8/faqs/validator.html > > If that doesn't work, you can change your Controller's "validator" > property to a "validators" property and pass in a list of properties

Re: [appfuse-user] Conditional Validation

2007-07-10 Thread Matt Raible
You may be able to use Commons Validator's ValidWhen: http://struts.apache.org/1.3.8/faqs/validator.html If that doesn't work, you can change your Controller's "validator" property to a "validators" property and pass in a list of properties (one for beanValidator and one for your custom Spring V

Re: [appfuse-user] Conditional Validation

2007-07-10 Thread Msarda
I am using spring framework (basic) with appfuse 2.0-m5 and maven 2.0.6 mraible wrote: > > Which web framework (and version of AppFuse) are you using? > > On 7/10/07, Msarda <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I want to do validation for a field depending on the value of other field

Re: [appfuse-user] Conditional Validation

2007-07-10 Thread Matt Raible
Which web framework (and version of AppFuse) are you using? On 7/10/07, Msarda <[EMAIL PROTECTED]> wrote: Hi all, I want to do validation for a field depending on the value of other field in validation.xml. I have two radio buttons,each one having a text box in front of them to fill value if

[appfuse-user] Conditional Validation

2007-07-10 Thread Msarda
Hi all, I want to do validation for a field depending on the value of other field in validation.xml. I have two radio buttons,each one having a text box in front of them to fill value if that particular radio button is selected. I just want to check that if the radio button is selected,there sho

Re: [appfuse-user] conditional validation

2007-02-28 Thread Matt Raible
y - Original Message From: Matt Raible <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, March 1, 2007 1:49:17 AM Subject: Re: [appfuse-user] conditional validation AppFuse's Spring MVC implementation ships with Commons Validator that has a "validwhen

Re: [appfuse-user] conditional validation

2007-02-28 Thread Gary
Thanks Matt; I'll start digging. I'm guessing that the Spring MVC Validator interface is server-side only. Correct? Gary - Original Message From: Matt Raible <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, March 1, 2007 1:49:17 AM Subject: R

Re: [appfuse-user] conditional validation

2007-02-28 Thread Matt Raible
AppFuse's Spring MVC implementation ships with Commons Validator that has a "validwhen" validator you can use. You can read more about it in their documentation (I think): http://jakarta.apache.org/commons/validator/ However, doing this logic with expressions in XML might be more difficult than

[appfuse-user] conditional validation

2007-02-28 Thread Gary White
I'm using AppFuse 1.9.3/Spring MVC. I've developed a survey engine and am now trying to implement conditional validation based on user-defined settings. The scenario is that a user creates a survey and specifies via a checkbox whether or not an answer is required for each individual question.