Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
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

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Michael Jouravlev
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

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread fea jabi
. 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:

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
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.

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
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

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread fea jabi
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

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Rahul Akolkar
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

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Hubert Rabago
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,

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread fea jabi
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:

Re: formbean of double type value chages when submitting the form

2006-03-23 Thread Laurie Harper
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

Re: formbean of double type value chages when submitting the form

2006-03-23 Thread Laurie Harper
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

formbean of double type value chages when submitting the form

2006-03-23 Thread fea jabi
In struts config dynamic="true"> . .. .. In prepare action I am not doing anything with the data. IN JSP validation.xml Dispatch action : public Acti