Action Listener can't be invoked from composite component in MyFaces
--------------------------------------------------------------------
Key: RF-10585
URL:
https://issues.jboss.org/browse/RF-10585
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.CR1
Environment: * RichFaces 4.0.0-SNAPSHOT r.21803
* Metamer 4.0.0-SNAPSHOT r.21859
* Apache MyFaces JSF-2.0 Core Impl 2.0.4
* JBoss AS 6.0.0.Final
* OpenJDK Runtime Environment 1.6.0_20-b20 @Linux
* Firefox 3.6.13 @ Linux x86_64
Reporter: Lukas Fryc
<demo:actionComposite id="invokeFromCCButton" render="messages"
value="Invoke listener method in composite component">
<a4j:actionListener for="button"
listener="#{a4jActionListenerBean.handleActionMethodComposite}" />
</demo:actionComposite>
<composite:implementation>
<h:commandButton id="button" value="#{cc.attrs.value}">
<composite:insertChildren />
<a4j:ajax render="#{cc.attrs.render}"
execute="#{cc.attrs.execute}" />
</h:commandButton>
</composite:implementation>
public void handleActionMethodComposite(ActionEvent event) throws AbortProcessingException
{
addFacesMessage("Method expression listener called from composite
component");
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira