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
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:
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
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:
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
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
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
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
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
9 matches
Mail list logo