[
https://issues.jboss.org/browse/RF-10585?page=com.atlassian.jira.plugin.s...
]
Pavol Pitonak commented on RF-10585:
------------------------------------
Would it be possible to implement some workaround in RichFaces?
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: Lukáš Fryč
Assignee: Nick Belaevski
Labels: metamer-ftest-tracked
Fix For: 4.Future
<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