RE: Validate array

2005-09-20 Thread Wojciech Ciesielski
> Hello, > Actually yes there is a validate method if your actionform extends > dynaActionform > the 'bad side' will be that you have declared all properties, (I suppose > to > avoid writing java code) and then you end upt writing code for > validation.. > > probably It won't be a nice solu

RE: Validate array

2005-09-20 Thread Wojciech Ciesielski
> i use DynaActionForm and i think there is not validate method. > Should i use ActionForm ? I think you may use MyActionForm extends DynaActionForm, just override validate method and you're OK. - To unsubscribe, e-mail: [EMAIL

RE: Validate array

2005-09-20 Thread Marco Mistroni
e solution, but that's one the other one I suppose Is to write your own custom validator.. HTH marco -Original Message- From: Mario Neè [mailto:[EMAIL PROTECTED] Sent: 20 September 2005 17:05 To: Struts Users Mailing List Subject: Re: Validate array Wojciech Ciesielski wrote: >

Re: Validate array

2005-09-20 Thread Mario Neè
Wojciech Ciesielski wrote: how can i validate an array of Long and check that addNumber[] is > 0 and < 99.99 ? What kind of validation do you use? FormValidator and XML validation rules? Still - you can override validate() method, call super.validate() and do some additional valida

RE: Validate array

2005-09-20 Thread Wojciech Ciesielski
> how can i validate an array of Long and check that addNumber[] is > 0 > and < 99.99 ? > > type="org.apache.struts.action.DynaActionForm"> > > What kind of validation do you use? FormValidator and XML validation rules? Still - you can override validate() method, call super.validate() and

Validate array

2005-09-20 Thread Mario Neè
Hello, how can i validate an array of Long and check that addNumber[] is > 0 and < 99.99 ? type="org.apache.struts.action.DynaActionForm"> -- Mario Nee' Brescia Italy [EMAIL PROTECTED] http://www.xmoon.org - To unsub

Re: Validate Array in Struts

2005-02-03 Thread Manisha Sathe
I have html form which containes product name and product no. these product name and product number can be in 'N' Numbers. For this i have taken Array of Product Names and Product Number. But i am unable to validate these arrays . Can You ple

Validate Array in Struts

2005-02-03 Thread Paulo César M. Jeveaux
Hi I have html form which containes product name and product no. these product name and product number can be in 'N' Numbers. For this i have taken Array of Product Names and Product Number. But i am unable to validate these arrays . Can You please tell me how we can validate