Re: Validate values in collection?

2003-09-26 Thread Timo Neumann
Natalie D Rassmann wrote: Hi Natalie and everybody, do you know if I can do a requiredif check against a second property in the same bean? something like: form name=FundForm field property=value indexedListProperty=funds depends=integer,requiredif arg0 key=global.value/ var

Validate values in collection?

2003-09-25 Thread Timo Neumann
Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax: +49 89 51727-111 Westendstr. 195 Mail:

Re: Validate values in collection?

2003-09-25 Thread Natalie D Rassmann
yes Timo Neumann wrote: Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax: +49 89 51727-111

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: yes how? Timo Neumann wrote: Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax:

Re: Validate values in collection?

2003-09-25 Thread Natalie D Rassmann
Like you would any other type of form. Do you know how to set up the validator framework? If not try this link below: http://jakarta.apache.org/struts/userGuide/dev_validator.html Timo Neumann wrote: Natalie D Rassmann wrote: yes how? Timo Neumann wrote: Hi all, is it

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: So this works if forms is a collection of beans with a property value? form name=FundForm field property=forms.value depends=integer arg0 key=global.value/ /field /form Like you would any other type of form. Do you know how to set up

Re: Validate values in collection?

2003-09-25 Thread Natalie D Rassmann
It depends on if it is indexed or not. Here is an example that I have... field property=prepTime indexedListProperty=prepTime depends=float,isFloatNegative page=3 arg0 key=label.revRec.mtgMetricPrepTime/ /field I am using a multi-page for that is why I have the page

RE: Validate values in collection?

2003-09-25 Thread Nimish Chourey , Tidel Park - Chennai
You can always extend DynaValidatorForm and overwrite the validate method . -Original Message- From: Timo Neumann [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 6:06 PM To: Struts Users Mailing List Subject: Re: Validate values in collection? Natalie D Rassmann wrote

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: Hi Natalie, now I got it. Thanks a lot. Timo It depends on if it is indexed or not. Here is an example that I have... field property=prepTime indexedListProperty=prepTime depends=float,isFloatNegative page=3 arg0