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

RE: Struts 2 release inquiry

2010-03-02 Thread Martin Gainty
reposting to struts dev list so Wes will be able to answer your inquiry.. Obrigado Martin Gainty __ please do not alter/disrupt this transmission. Thank You > Date: Tue, 2 Mar 2010 14:06:10 +0800 > From: jevica.aria...@gmail.com > To: user@struts.a

Action tag: execute method not being cal led‏

2010-03-02 Thread adam pinder
in case anyone else encounters similar issue. i forced the locale to en_GB (using datetimepicker with dd/mm/ format) by adding it into struts.xml and now it works. what was happening was that the dates on the url were not being converted into java.util.Date fields because they were de

RE: Inserting data into nested collections

2010-03-02 Thread adam pinder
Alex, just checked my code again and it required me to handle the parameters myself - i added some code into the prepare method and checked request parameters and updated the arraylist myself (it was a while ago i had this problem). In struts1 it would have worked, i couldn't get it to wor

Struts 2 - Validation - Different jsp, one save method

2010-03-02 Thread Julien ROTT
Hi, I have a save method in an action. Due to configuration, data can come from the same form on different jsp. Each jsp having different required fields. For example, an address form. On one jsp the "Country" field is required, on another one the "Country" field is NOT required... Can I specify