Do you know what is the difference between the tags mentioned in the subject?
I thought they should produce pretty much the same result but it turned out that in some cases ui:repeat
(a facelets tag) is not working as you would expect, although it's also considered a basic iteration component.
t
is for tomahawk
and a4j
is a richfaces
prefix.
Any comment is welcome.
Facelets'
ui:repeat
has indeed bugs in certain situations. As to the difference with the other two, it boils down that it's not anUIData
component while the other two are.Ajax4jsf
UIRepeat
extendsUIData
.Tomahawk's
HtmlDataList
extendsUIData
.Facelets'
UIRepeat
does not extendUIData
.The inheritable codebase provided by
UIData
is pretty mature (although it is not always as efficient as it ought to be). The Facelets'UIRepeat
still needs to be polished more. Theui:repeat
can't extendUIData
, because it's part of Facelets, the view technology, not of JSF, the component based MVC framework. It was also initially developed by a different team.Since it's unclear what issue exactly you're talking about, it's hard to tell whether it's actually one of its known bugs or just a misinterpretation/abuse. At least, here is an overview of all known bugs related to
ui:repeat
.