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:dataT开发者_JS百科able 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?
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.
精彩评论