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