Reputation: 5031
Before asking this question, I visited many other related ones and tried to gather the maximum of information. But, what I found till now let me understand that there is no real/major difference between ui:repeat
and h:dataTable
, and that whenever we can use h:dataTable
we can also use ui:repeat
(sometimes one of them is a little complex than the other, but at the end we got same results).
So, is there any use cases where the only choice is to use h:dataTable
? or the opposite (only choice is ui:repeat
)?
Upvotes: 5
Views: 2084
Reputation: 1109402
is there any use cases where the only choice is to use h:dataTable?
UIData
-based component (with all of its special attributes absent in UIRepeat
).<table>
by a JSF component.<table>
rendering (like PrimeFaces <p:dataTable>
does with sorting, filtering, grouping, folding, lazyloading, etc, etc).or the opposite (only choice is ui:repeat)?
step
attribute).Upvotes: 7