JSF1.2: difference between ui: repeat, a4j: repeat and t: datalist

Do you know the difference between the tags mentioned in the topic?

I thought that they should produce almost the same result, but it turned out that in some cases the ui:repeat (facelets tag) does not work as you expected, although it was also considered as the basic component of the iteration.

t for tomahawk and a4j is the prefix richfaces .

Any comments are welcome.

+4
source share
1 answer

Facelets ui:repeat does have errors in certain situations. As for the difference with the other two, it comes down to the fact that this is not a UIData component, but the other two.

Ajax4jsf UIRepeat extends UIData .
Tomahawk HtmlDataList extends UIData .
Facelets' UIRepeat does not extend the UIData .

The inherited code base provided by UIData is quite mature (although it is not always efficient, as it should be). The "Facelets" of the UIRepeat still need to be polished. ui:repeat cannot extend UIData because it is part of Facelets, a viewing technology, not JSF, a component-based MVC framework. It was also originally developed by another team.

Since it is unclear what the problem you are talking about, it is difficult to say whether this is really one of her known mistakes or just a misinterpretation / abuse. At least here is an overview of all known bugs related to ui:repeat .

+4
source

All Articles