struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Van Wart <sc...@indosoft.com>
Subject Creating a DynaBean from an ActionForm on the fly
Date Wed, 23 Aug 2006 21:13:07 GMT
Is it possible to get a DynaBean object from an ActionForm 
programmatically?  I need to create a copy of a form, but cloneBean 
isn't working.  I have a map-based nested bean (which lets me do stuff 
like 'myform.child(ABC).name), but cloneBean does a SHALLOW (argh!) copy 
of the map so the original and the clone have the same map values.

- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message