Hi, you need a panelGroup: <f:facet
name="funktion"> <h:panelGroup
style="white-space:nowrap;"> <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}" action="">
<t:graphicImage value="/images/templates/system/document.png"
/> <h:outputText
value="#{node.description}" /> <f:param
name="functionId" binding="#{navigation.nextFunction}"
value="#{node.function}"/> </h:commandLink> </h:panelGroup> </f:facet> What do you think about it? Marc -----Ursprüngliche Nachricht----- Hi everyone, It is my first time to use tree2. It is very nice and
very friendly, but I don't know how to set nowrap to tree node
(img+nodename+(count)=one line). From the partial rendered codes: <td><img id="contentForm:clientTree:0:0:0:0:t2c" src=""
border="0"><span class="nodeFolder">Node Name</span>
<span class="childCount">(2)</span></td> it seems I need to add style="white
space:nowrap;" in the <td> tag, like <td style="white space:nowrap;">, but I don't
know how to add into t:tree2 tag. Could you somebody give me a help? Thank you very much
in advance. Best regards, Gus -- View this message in context:
http://www.nabble.com/Nowrap-on-tree2-tf2088607.html#a5756627 Sent from the MyFaces - Users forum at Nabble.com. |
- AW: Nowrap on tree2 Dreier, Marc