which is wrong.
>
> I think I am missing something here.
>
> Please, explain. thanks.
>
>
>
> >From: "Hubert Rabago" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> >To: "Struts Users Mailing List"
> >Subj
On 3/24/06, fea jabi <[EMAIL PROTECTED]> wrote:
> BeanUtils.copyProperties(myBusinessBean,form)) is copying DynaValidatorForm
> String values to the myBusinessBean which is having the right data types.
>
> But in validator.xml, I am validating the DynaValidatorForm properties to
> check if user is
.
I think I am missing something here.
Please, explain. thanks.
From: "Hubert Rabago" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: formbean of double type value chages when submitting the form
Date:
On 3/24/06, fea jabi <[EMAIL PROTECTED]> wrote:
> thankyou for your response and clear expaination.
>
> If I use String for the formbean do I have to convert it to Double before i
> validate?
>
> Is there an easier way to convert all form-properties in the form at the
> same time?
Yes. BeanUtils.
On 3/24/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> > You know, you're right. I don't know why we list those there since
> > DynaActionForm can support any type. (pause, think.)
>
>
> The intent probably was to mention that those converte
eply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: formbean of double type value chages when submitting the form
Date: Fri, 24 Mar 2006 08:17:04 -0600
You know, you're right. I don't know why we list those there since
DynaActionFo
On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> You know, you're right. I don't know why we list those there since
> DynaActionForm can support any type. (pause, think.)
The intent probably was to mention that those converters are
*guaranteed* to be available (since they exist in BeanUti
You know, you're right. I don't know why we list those there since
DynaActionForm can support any type. (pause, think.) Hmm, maybe next
week I'll find time to fix that. (Patches to docs are welcome!)
Anyway, I think you missed a statement a few paragraphs down the same
section: "And, of course,
Short
java.lang.String
java.sql.Date
java.sql.Time
java.sql.Timestamp
Thanks.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: formbean of double type value chages when submitting the form
Date: Thu, 23 Mar 2006 23:
fea jabi wrote:
In struts config
type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
..
...
...
In prepare action I am not doing anything with the data.
IN JSP
validation.xml
fea jabi wrote:
In struts config
type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
..
...
...
In prepare action I am not doing anything with the data.
IN JSP
validation.xml
In struts config
dynamic="true">
.
..
..
In prepare action I am not doing anything with the data.
IN JSP
validation.xml
Dispatch action :
public Acti
12 matches
Mail list logo