You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Rob Decker <ro...@objectsource.org> on 2005/04/01 23:47:05 UTC
selecting nodes in tree2
I have the following:
<h:panelGrid columns="4" styleClass="#{t.nodeSelected ? 'selected' : 'unselected'}">
<h:commandLink actionListener="#{t.setNodeSelected}" immediate="tree" id="branch">
<h:graphicImage value="/images/yellow-folder-open.png"
rendered="#{t.nodeExpanded}" border="0"/>
<h:graphicImage value="/images/yellow-folder-closed.png"
rendered="#{!t.nodeExpanded}" border="0"/>
</h:commandLink>
.
.
.
</h:panelGrid>
When I click on the folder the actionListener is supposed to be called. It never
happens. Is node selection a client-side only thing? Even if it is, why does't the
actionListener get called?
--
Rob
@objectsource.org