I want to be able to get the data for the selected row in a scrollabeldatatable. I would like to use the "selection" attribute of the scrollabledatatable. Seems simple enough. here is my view code for the scrollabeldatatable tag:
<h:form
id="casetableform"
style="width:802px;margin:auto;border:solid 1px">
<rich:scrollableDataTable
id="casetable"
rows="50"
columnClasses="col"
value="#{caseList}"
var="case"
sortMode="single"
width="800px"
height="600px"
selection="#{CASELISTFORM.rowSelected}"
binding="#{CASELISTFORM.tbl}">
.
.
.
@Stateless
@Name("CASELISTFORM")
public class CaseListFormBean implements ICaseListForm {
private Selection rowSelected;
private UIScrollableDataTable tbl;
.
.
.
public Selection getRowSelected() {
return rowSelected;
}
public void setRowSelected(Selection rowSelected) {
this.rowSelected = rowSelected;
}
public UIScrollableDataTable getTbl() {
return tbl;
}
public void setTbl(UIScrollableDataTable tbl) {
this.tbl = tbl;
}
SEVERE: Error Rendering View[/caselist.xhtml]
javax.faces.FacesException: javax.el.ELException: /caselist.xhtml @213,33 binding="#{CASELISTFORM.tbl}": java.lang.IllegalArgumentException: argument type mismatch
There is topic like one you've created.
http://jboss.com/index.html?module=bb&op=viewtopic&t=122543&start=10
Please join [/url]