h:dataTable inside ui:repeat, how specify render id from f:a

I have: #project.id #project.id Using I can not render h:dataTable with given id, can someone explain me what is wrong in this code? When I checked by FireBug

via Java Application Development Tutorial » Search Results » ajax:

h:dataTable inside ui:repeat, how specify render id from f:a

I have:

#project.id

#project.id




Using I can not render h:dataTable with given id, can someone explain me what is wrong in this code? When I checked by FireBug

, but in client side #project.id was printed (before and inside datatable).
……………………………………….

It is because of id of h:dataTable is resolved when components tree is being build, but var project is only available on render response. Try using c:forEach in this case instead of ui:repeat.
More information on this: http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets

For more info: h:dataTable inside ui:repeat, how specify render id from f:a

Java Application Development Tutorial » Search Results » ajax

h:dataTable inside ui:repeat, how specify render id from f:a

Share this post:

Related Posts

Leave a Comment