> > problem/question 2: > > when i have the typical situation of vaqlue object > "invoice" having an > > ArrayList of value objects "invoice position" and having a > form "invoice" > > with an ArrayList of "subforms" "invoice position", then > the copyProperties > > works fine for the vo-invoice to form-invoice but it copes the > > vo-invoice-positions to the ArrayList of the form-invoice. > > I'm afraid that I don't understand what you are saying here. > Could you > illustrate the problem wish some simple examples from your VO and form > bean declarations?
value object: public class ConsignmentVO { private double totalGrossWeight; private double totalVolume; private ArrayList lineItems; // collection of LineItemVO public class LineItemVO { private String marksAndNumbers; private String goodsDescription; private double grossWeight; private double volume; form object: public class ConsignmentSeaDtlForm extends ValidatorForm { private String totalWeight; private String totalVolume; private ArrayList lineItems; // collection of LineItemForm public class LineItemForm { private String marksAndNumbers; private String goodsDescription; private String grossWeight; private String volume; I've tried BeanUtils.copyProperties(ConsignmentSeaDtlForm, ConsignmentVO); which worked fine for the numeric-to-string conversion, but copied LineItemVO to lineItems of ConsignmentSeaDtlForm. I read another post from you within the commons list, refering to deep copy, but I didn't found a solution for my problem. Do I missunderstand something? Thanks a lot for your assistance Rene -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>