Nicklas Karlsson schrieb:
The myfaces example contains tree2-stuff too, I suggest you start there.
Yes, i reviewed the tree2 examples already, but i didnĀ“t get the link
mechanism right now.
The document-facet is rendered as follows:
<f:facet name="document">
<h:panelGroup>
<h:commandLink immediate="true" styleClass="#{t.nodeSelected ?
'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
<t:graphicImage value="images/document.png" border="0"/>
<h:outputText value="#{node.description}"/>
<f:param name="docNum" value="#{node.identifier}"/>
</h:commandLink>
</h:panelGroup>
</f:facet>
The node looks like this:
new TreeNodeBase("document", "Example", "http://www.test.com", true));
The rendered link always points to '#', so where is that set and how can
i change it ???