You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alex Landini (JIRA)" <de...@myfaces.apache.org> on 2013/12/20 14:42:09 UTC
[jira] [Created] (TOMAHAWK-1670) actionListener not invoked on
component inside the tree
Alex Landini created TOMAHAWK-1670:
--------------------------------------
Summary: actionListener not invoked on component inside the tree
Key: TOMAHAWK-1670
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1670
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Tree2
Affects Versions: 1.1.14
Environment: JSF Mojarra 2.1.24, Tomahawk21, JBoss EAP 6.1, Windows
Reporter: Alex Landini
I have the situation depicted in the following snippet:
{code:xml}
<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="#{t.nodeExpanded}" border="0" />
</f:facet>
<f:facet name="collapse">
<t:graphicImage value="images/yellow-folder-closed.png"
rendered="#{!t.nodeExpanded}" border="0" />
</f:facet>
<h:commandLink id="folderSelected" actionListener="#{treeBacker.onFolderSelected}">
<h:outputText value="#{node.description}"
styleClass="nodeFolder" />
<h:outputText value=" (#{node.childCount})"
styleClass="childCount" rendered="#{!empty node.children}" />
</h:commandLink>
</h:panelGroup>
</f:facet>
...
</t:tree2>
{code}
The actionListener on the commandLink is not invoked.
This code works with JSF 1.2.15 and tomahawk12.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)