Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.14
-
None
-
None
-
JSF Mojarra 2.1.24, Tomahawk21, JBoss EAP 6.1, Windows
Description
In the snippet below the actionListener on the commandLink with id 'folderSelected' is not invoked.
This code used to work with JSF 1.2.15 and tomahawk12.
I have attached a simple project that I created starting from the tomahawk examples.
Debugging through the code I found that probably the problem is due to the fact that the listener is not saved or restored form the view.
<t:tree2 id="clientTree" value="#
{treeBacker.treeData}" var="node"
varNodeToggler="t">
<f:facet name="foo-folder">
<h:panelGroup>
<f:facet name="expand">
<t:graphicImage value="images/yellow-folder-open.png"
rendered="#
" border="0" />
</f:facet>
<f:facet name="collapse">
<t:graphicImage value="images/yellow-folder-closed.png"
rendered="#
" border="0" />
</f:facet>
<h:commandLink id="folderSelected" actionListener="#
">
<h:outputText value="#
"
styleClass="nodeFolder" />
<h:outputText value=" (#
)"
styleClass="childCount" rendered="#
" />
</h:commandLink>
</h:panelGroup>
</f:facet>
</t:tree2>