|
Hi, In response to your post at http://www.mail-archive.com/[email protected]/msg16259.html Have you tried using immediate=”true” in your
command link? I don’t have any scientific basis for explaining
this.. all I know is that immediate=”true” skips the validation
phase? – which I can’t relate to the functioning of tree2. However using immediate=”true” caused my events
to start working in this code here. If I do not use immediate=”true”, events do not
fire. An explanation for this would be welcome also! <t:tree2 id="userTeamTree" value="#{treeMenu.treeModel}" var="node" showRootNode="false"> <!-- render
nodes of type "root" --> <f:facet name="root"> <h:panelGroup> <h:outputText value="All Teams and Users"/> </h:panelGroup> </f:facet> <%-- render nodes of
type "team" --%> <f:facet name="team"> <h:panelGroup> <t:graphicImage value="../images/teams.png"/> <h:commandLink immediate="true" value="#{node.description}" action="#{treeMenu.teamsInterface}"> <f:param name="team_id" value="#{node.identifier}"/> </h:commandLink> </h:panelGroup> </f:facet>
<!-- chosen
to render nodes of type "user" --> <f:facet name="user"> <h:panelGroup> <h:commandLink immediate="true" action="#{treeMenu.usersInterface}">
<h:outputText value="#{node.description}"/>
<f:param name="user_id" value="#{node.identifier}"/> </h:commandLink>
</h:panelGroup> </f:facet> </t:tree2> -- |
