WG: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-06 Thread Nicolas Kopp
} which solved all of our problems. Life can be so easy. I hope it helps someone else! Nicolas -Ursprüngliche Nachricht- Von: Nicolas Kopp [mailto:nicolas.k...@empirica.com] Gesendet: Montag, 6. September 2010 11:36 An: Struts Users Mailing List Betreff: AW: Struts2 Dynamic Merge of t

AW: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-06 Thread Nicolas Kopp
s between the two objects. > > Probably not the answer you were looking for, but this has been my approach > so far. > > /robert > > > > - Original Message - From: "Nicolas Kopp" > > To: > Sent: Friday, September 03, 2010 5:23 AM > Su

AW: How do I get wibble[0][something]=blah to parse into an action?

2010-09-06 Thread Nicolas Kopp
Hi Andy, maybe you forgot to initialize the ArrayList as a new Object in the setter? try this: public void setWibble(ArrayList> wibble) { this.wibble = new ArrayList>(); this.wibble = wibble; } Maybe worth a try. Not tested. Cheers, Nico -Ursprün

Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Nicolas Kopp
Hi there, We (Team of two developers) use Hibernate integrated in a Struts2 web application. If we want to perform an update to our objects on the database we fetch the data and load the resulting object into a web form where the user can edit the data. In this web form not all the object's att