Re: How to convert Strings in ActionForm to date, double etc. in VO..

2005-02-28 Thread Andrew Hill
:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 1:55 PM To: Struts Users Mailing List Subject: Re: How to convert Strings in ActionForm to date, double etc. in VO.. There is a fair bit of support in commons-beanutils for this sort of thing. http://jakarta.apache.org/commons/beanutils/api/ Take a

Re: How to convert Strings in ActionForm to date, double etc. in VO..

2005-02-28 Thread Hubert Rabago
king for something which can perform the necessary > type conversion like string to date, string to double > > KP > > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 01, 2005 1:55 PM > To: Struts Users Mailing List > Subj

RE: How to convert Strings in ActionForm to date, double etc. in VO..

2005-02-28 Thread Prasad, Kamakshya
Mailing List Subject: Re: How to convert Strings in ActionForm to date, double etc. in VO.. There is a fair bit of support in commons-beanutils for this sort of thing. http://jakarta.apache.org/commons/beanutils/api/ Take a look at BeanUtils.copyProperties() to start with at that sounds closest to

Re: How to convert Strings in ActionForm to date, double etc. in VO..

2005-02-28 Thread Andrew Hill
There is a fair bit of support in commons-beanutils for this sort of thing. http://jakarta.apache.org/commons/beanutils/api/ Take a look at BeanUtils.copyProperties() to start with at that sounds closest to your needs. (btw: Struts also makes use of BeanUtils for form population so the jar file

How to convert Strings in ActionForm to date, double etc. in VO..

2005-02-28 Thread Prasad, Kamakshya
Hi All, In our application we are keeping all the values as string in actionform but in value object we are using specific data type. Now we are looking for an option which can populate the VO from ActionForm without the developer having to populate for each of the fields. It should also perfor