You told data list to put two pieces of text in each loop of "Item1 Item2"
You want the equivalent of:
public String[] getItems() { return new String[] { "Item1", "Item2" }; }
<t:dataList var="_item" value="#{myBean.items}" layout="orderedList">
<h:outputText value="#{_item}" />
</t:dataList>
On 6/12/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
I have the following:
---
<t:dataList id="String"
styleClass="my-text"
itemStyleClass="my-text"
var="String"
value="List"
layout="orderedList"
rowCountVar="int"
rowIndexVar="int">
<h:outputText
value="Item1"/>
<h:outputText
value="Item2"/>
</t:dataList>
---
With this I get the following on the web page:
1. Item1Item2
any ideas why Item2 is not put on a new line like
2. Item2
??
thanks
Si'mon
--
View this message in context:
http://www.nabble.com/how-to-get-ordered-list-to-work--problems-with-dataList-tf3909067.html#a11083805
Sent from the MyFaces - Users mailing list archive at Nabble.com.