how to get data from HTMLDataTable in jsf?

Posted by Guru on Stack Overflow See other posts from Stack Overflow or by Guru
Published on 2010-04-29T10:04:21Z Indexed on 2010/04/29 10:07 UTC
Read the original article Hit count: 543

Filed under:
<h:dataTable width="100%" border="1" cellspacing="0"
  cellpadding="2" style="border-collapse:collapse;display:block"
  styleClass="Header" value="#{adminBean.displayResults}"
  var="aResult" binding="#{adminBean.browseResultsHTMLDataTable}">

This is what i am trying to do. I have a dynamic list of data, which i try to display in the HTML Table format using h:dataTable (the bounded value is an arrayList). The table has got a radio button for each row it displays (boolean w/ h:selectOneRadio ) now when i select the radio button in one of these rows, i want to get the values of the row that is selected for which i try to use binding attribute. But i get Row Unavailable exception - is my approach wrong? any suggestions?

© Stack Overflow or respective owner

Related posts about jsf