It seems to me like you last example should work as long as
xMsgBean.msgTextrefers to a DataModel or CollectionModel
<tr:panelList>
<tr:iterator value="#{xMsgBean.msgText}" var="foo">
<tr:inputText readOnly="true"
styleClass="refAreaText"
value="#{foo.text}" />
</tr:iterator>
</tr:panelList>
If not, it may have to do with the timing of tr:iterator, you may want to
try a c:forEach which also should work since all the tr:panelList will see
only the inputs that are returned from c:forEach
On 1/26/07, Todd Cantalupo <[EMAIL PROTECTED]> wrote:
Hey -
I'm attempting to produce a simple, unordered list, whose number of
bullets are determined dynamically.
So, what I want to produce is what is visually produced by this block of
code:
<tr:iterator value="#{xMsgBean.msgText}" var="foo">
<tr:panelList>
<tr:inputText readOnly="true"
styleClass="refAreaText"
value="#{foo.text}" />
</tr:panelList>
</tr:iterator>
Although this produces the desired visual effect (with too much white
space in between bullets), it isn't what I want.
Here's what I've tried and they all give me ONE bullet with either all
of the strings on one line or ONE bullet with x number of new lines for
that ONE bullet. Any input is greatly appreciated.
<tr:panelList>
<ui:repeat value="#{xMsgBean.msgText}" var="foo">
<tr:inputText readOnly="true"
styleClass="refAreaText"
value="#{foo.text}"></tr:inputText>
</ui:repeat>
</tr:panelList>
<tr:panelList>
<ui:repeat value="#{xMsgBean.msgText}" var="foo">
<tr:commandLink styleClass="refAreaText"
text="#{foo.text}" />
</ui:repeat>
</tr:panelList>
<tr:panelList>
<tr:iterator value="#{xMsgBean.msgText}" var="foo">
<tr:inputText readOnly="true"
styleClass="refAreaText"
value="#{foo.text}" />
</tr:iterator>
</tr:panelList>
The information transmitted herewith is sensitive information of
Chordiant Software or its customers and is intended only for use to the
individual or entity to which it is addressed. If the reader of this message
is not the intended recipient, you are hereby notified that any review,
retransmission, dissemination, distribution, copying or other use of, or
taking of any action in reliance upon, this information is strictly
prohibited. If you have received this communication in error, please contact
the sender and delete the material from your computer.