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 :
What you could do is the following
var vPanel = getComponent("viewPanel"); docIdArray = viewPanel.getSelectedIds(); sessionScope.put("SelectedIds",@Implode(docIdArray,","));