I\'ve a viewPanel1 with checkboxes. By clicking on a button I would like to save the univ id\'s (comma seperated) of the selected items to a scoped variable. I tried this :
Also, don't forget that scoped variables can hold an array, so you don't really need to box/unbox the array:
sessionScope.put("SelectedIds", getComponent("viewPanel1").getSelectedIds());