Re: s:checkbox inside a s:iterator and values in a Integer[]

2009-07-12 Thread Ignacio de Córdoba
Thanks a lot for reply. It works OK that way. I had to make a getter for the Category objects as a List and maintain the setter for the categoryId Integer array. It would be great if s:checkbox could also check when to pre-check the checkbox in the same way as s:checkboxlist does (I think I used s

Re: s:checkbox inside a s:iterator and values in a Integer[]

2009-07-12 Thread Musachy Barroso
you need to specify the "value" attribute, which is the one that will make it checked or not, for example, assume "possibleValues" is the list of possible values, and "selectedValues" is the list of currently selected values, and both lists contain objects that have an int "id" field (same type of