[
http://jira.jboss.com/jira/browse/RF-3080?page=comments#action_12409243 ]
Nick Belaevski commented on RF-3080:
------------------------------------
Linh,
Looks like that reproduces for JSP pages only. That issue is called by the fact that
a4j:actionParam serves as an ActionListener. The order of calling action listeners has
changed in JSF 1.2 (first the own components's listener is called then the other ones)
and as we've solely migrated to 1.2 standard in 3.2.0 version that has caused the
issue. Facelets handler left untouched that's the reason why I couldn't reproduce
the issue.
So I've created JIRA issues:
http://jira.jboss.com/jira/browse/RF-3109 - for handlers update
http://jira.jboss.com/jira/browse/RF-3110 - to enhance a4j:actionParam component with
properly working actionListener
There is a workaround: use <f:actionListener binding="#{listenerClass}">
after a4j:actionParam tag.
Best regards,
Nick Belaevski
a4j:actionparam is not working properly in RichFaces 3.2
--------------------------------------------------------
Key: RF-3080
URL:
http://jira.jboss.com/jira/browse/RF-3080
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JBoss app server 4.3, JSF 1.2, Richfaces 3.2
Reporter: Linh Le
Does the fix for this issue "http://jira.jboss.com/jira/browse/RF-2634" really
get included in RichFaces 3.2 release???
I have just upgraded from Richfaces 3.1.4 to 3.2, and the assignTo of a4j:actionparam
does not work properly anymore. I worked fine with 3.1.4. Why???
Specifically, I'm having a4j:actionparam inside an a4j:support onclick event. Then
the a4j:support is put inside a h:panelGrid. At the very first click on the panelGrid, the
bean property is NULL. The value was not set to the bean property of the assignTo attrib
at all, but it is set after the action listener method completed its execution. The bean
property should be set before the action listener method get executed (like in 3.1.4).
Therefore, for any subsequent click on the panelGrid, the bean property shows the value of
the previous click.
Your prompt response is highly appreciated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira