BeanUtils question with DynaForms?

2003-03-19 Thread Mick . Knutson
Can I use BeanUtils to convert a DynaForm to a concrete DTO that I have? The signiture matches the names in the DynaForm aside from the "Sentance Case". So, I have an element in the struts-config.xml called "firstName", and a UserDto that has a setFirstName(String firstName) Thanks in

Re: BeanUtils question with DynaForms?

2003-03-19 Thread Gemes Tibor
[EMAIL PROTECTED] írta: Can I use BeanUtils to convert a DynaForm to a concrete DTO that I have? The signiture matches the names in the DynaForm aside from the Sentance Case. So, I have an element in the struts-config.xml called firstName, and a UserDto that has a setFirstName(String firstName)

RE: BeanUtils question with DynaForms?

2003-03-19 Thread Mick . Knutson
Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:19 PM To: Struts Users Mailing List Subject: Re: BeanUtils question with DynaForms? [EMAIL PROTECTED] írta: Can I use BeanUtils to convert a DynaForm to a concrete DTO that I have? The signiture matches

Re: BeanUtils question with DynaForms?

2003-03-19 Thread Kris Schneider
Well, you can copy and convert the *properties* of your DynaActionForm. Try BeanUtils.copyProperties(dao, form). Quoting [EMAIL PROTECTED]: Can I use BeanUtils to convert a DynaForm to a concrete DTO that I have? The signiture matches the names in the DynaForm aside from the Sentance Case.

RE: BeanUtils question with DynaForms?

2003-03-19 Thread Mick . Knutson
Internal: 48194 Mobile: 079.726.14.26 _ -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 3:06 PM To: Struts Users Mailing List Subject: Re: BeanUtils question with DynaForms? Well, you can copy and convert the *properties* of your

RE: BeanUtils question with DynaForms?

2003-03-19 Thread Kris Schneider
, Financial - Zürich Office: +41 (0)1/234.42.75 Internal: 48194 Mobile: 079.726.14.26 _ -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 3:06 PM To: Struts Users Mailing List Subject: Re: BeanUtils question with DynaForms