RE: Inserting data into nested collections

2010-03-01 Thread adam pinder
Alex, i used the following and it worked ok with struts2. In JSP :- In Action, i have a get/set for opportunity which is an object with the following property (with get/setters) private Collection opportunityItems = new ArrayList(0); and the following additional method in the op

Re: Inserting data into nested collections

2010-03-01 Thread Alex
Thanks Adam for the fast reply. I'm not sure howver that your solution would solve my problem. I'll try to inspire from it however : ) I found this issue which looks pretty much related to my problem : http://jira.opensymphony.com/browse/XW-408 Is this a known issue in Struts 2 and OGNL ? Tha

RE: Inserting data into nested collections

2010-03-02 Thread adam pinder
it to work properly in struts2 even though forum suggestions etc say it should work. Apologies for my initial email. adam > Date: Mon, 1 Mar 2010 23:25:23 +0100 > Subject: Re: Inserting data into nested collections > From: azli...@gmail.

Re: Inserting data into nested collections

2010-03-02 Thread Alex
Hi Adam ! Thanks for your feedback. I did manage to populate my collection by hacking a little on the client side and by using javascript and hidden fields but that's a really dirty way to do it in my opinion I'd love to hear from others on this list to see if they managed to populate nested