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
[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)
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
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.
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
, 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
6 matches
Mail list logo