True, but using the getMap() I will get also properties that do not
belong to the logic, like 'method' used for the DispatchAction, 'page'
etc.

Erez

-----Original Message-----
From: Paananen, Tero [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2003 6:47 PM
To: 'Struts Users Mailing List'
Subject: RE: Copying DynaActionForm to Map DTO

> I am using both DynaActionForm and a DTO that is implemented
> as a HashMap.
> What is the best way to copy or transfer the properties from the
> DynaActionForm to the HashMap DTO?

I would imagine that would require entirely on your
requirements...

The JavaDoc for DynaActionForm, btw, is very useful.
Might want to check it, especially where it documents
the getMap() method.

                                -TPP

-----------------------------------------
This email may contain confidential and privileged material for the sole
use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive for the recipient),
please contact the sender by reply email and delete all copies of this
message.  Also, email is susceptible to data corruption, interception,
tampering, unauthorized amendment and viruses. We only send and receive
emails on the basis that we are not liable for any such corruption,
interception, tampering, amendment or viruses or any consequence
thereof.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to