0

I have a datatable that reads registers from a database. In the datatable I have a panelgroup that is populated by binding My problem is that I can not pass a parameter. I want to pass a value from the datatable variable, in that case preg, on each row I want to know the value of the register read to populate the panelgroup.

If I display the value it works fine for each row: #{preg.idpreg}

<h:dataTable var="preg"  value="#{Pregbacking.list(Pregbacking.idenq)}">
    <h:column>
        #{preg.idpreg}
        <h:panelGroup binding="#{Pregbacking.dynamicDataTableGroup(preg.idpreg)}"/>
    </h:column>
</h:dataTable>

Does anybody know how can I solve this?

fejese
  • 4,601
  • 4
  • 29
  • 36
Mnem
  • 1

1 Answers1

0

That should work just find but I believe that you need to make sure you are using a modern servlet spec (v3 I think). Use the latest Glassfish or Tomcat app server.

jjross
  • 678
  • 1
  • 6
  • 19