Re: Multi dimension array from form

2012-11-02 Thread Zoran Avtarovski
Thanks Jeffrey, In the end I went with using a string representation of the array '[firstIndex][secondIndex][value]' and then used a tokenizer to recreate the array. It was pretty straight forward in the end. I don't know why but I thought I'd used multi dimensional arrays like that in the past

Re: Multi dimension array from form

2012-11-02 Thread Jeffrey Black
Z, Have a look at the following page: http://struts.apache.org/2.x/docs/html-form-buttons-howto.html I haven't worked through your use-case yet, but it may get you where you want to be. I've used these techniques in my apps. Best, jb On Nov 1, 2012, at 9:47 AM, Zoran Avtarovski wrote: >

Multi dimension array from form

2012-11-01 Thread Zoran Avtarovski
I have a two dimension array in my action: Integer[][] dataArray with appropriate getter/setter. In my form I use the following checkbox tag to pass the data from user to action