JSF ui: repeat vs h: dataTable

Before asking this question, I visited many other relatives and tried to collect as much information as possible. But, what I have found so far, let me understand that between ui:repeatand h:dataTablethere is no real / big difference, and that whenever we can use h:dataTable, we can also use ui:repeat(sometimes one of them is a little complicated than the other, but in at the end we got the same results).

So, are there any use cases where the only choice is to use h:dataTable? or vice versa (just a choice ui:repeat)?

+4
source share
1 answer

- , h: dataTable?

  • UIData ( , UIRepeat).
  • HTML <table> JSF.
  • <table> (, PrimeFaces <p:dataTable> , , , , lazyloading .. ..).
  • Facelets .

( : ui: repeat)?

  • , , .
  • n ( step).
+5
source

All Articles