t:datalist not working properly
This is not true. It's in this case working exactly as specified and documented. The <t:dataList>
generates by default no additional HTML at all. Please try to not act as if you didn't make any mistakes.
You're not clear on your definition of "row" either, so it's hard to point out the right solution. You seem to not understand/see either that JSF is merely a HTML code generator.
If you intend to generate a HTML <ul><li>
, then you should be setting its layout
attribute to unorderedList
.
<t:dataList ... layout="unorderedList">
Or, if you intend to generate a HTML <ol><li>
, then you should be setting its layout
attribute to orderedList
.
<t:dataList ... layout="orderedList">
Or, if you intend to generate a simple HTML <br>
between each item, then just write the desired HTML code accordingly.
<t:dataList ...>
<h:outputText value="#{feed.value}" /><br />
</t:dataList>