Hi all, 
In my application I have an ActionForm which contains some simple properties of 
types: String, int, boolean, but also contains another bean, and indexed 
property (as follows)

ChartForm:
 - String name;
 - SeriesBean[] series;
 - MarkerBean marker;


All the properties in all beans have String or boolean type. I also have 
corresponding Transfer Objects (they are the same structure, altough they have 
other types (line numbers, colors etc.). Now I need to copy my ChartForm to 
ChartFormTO and make type conversion. I've tried to use BeanUtils package, but 
it lets me copy only simple porperties.

Do you know how can I copy indexed properties from SeriesBean[] to 
SeriesBeanTO[] without writing code for all the items? Is it possible to copy 
entire Bean at once? Or do I have to do it manually with each properyt?

Thanks for help.


----------------------------------------------------------------------
Poznaj Stefana! Zmien komunikator! >>> http://link.interia.pl/f1924


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

Reply via email to