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

Re: Validate Array in Struts

2005-02-03 Thread Manisha Sathe
Few days back i also posted the query much similar to yrs, i am attaching the reply i got from Matt below for yr reference. Hope this helps u regards Manisha Manisha Sathe wrote: > I have a form whose fields are from an dynamic customer array. I display Customer name and giving i/p field f