[richfaces-issues] [JBoss JIRA] (RF-12510) jsFunction data called before completittion

Juraj Húska (JIRA) jira-events at lists.jboss.org
Tue Oct 23 04:25:01 EDT 2012


    [ https://issues.jboss.org/browse/RF-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728540#comment-12728540 ] 

Juraj Húska commented on RF-12510:
----------------------------------

Hey Brian,

I reproduced the issue on metamer. I verified that function on data attribute is called twice.

Here is the [facelet|https://github.com/richfaces/qa/blob/master/metamer/application/src/main/webapp/components/a4jJSFunction/rf-12510.xhtml] and here the [test|https://github.com/richfaces/qa/blob/master/metamer/application/src/main/webapp/components/a4jJSFunction/rf-12510.xhtml].

I also reproduced the issue on Tomcat 7 and JBoss AS 7.1.1.Final, both on Chrome and Firefox.
                
> jsFunction data called before completittion
> -------------------------------------------
>
>                 Key: RF-12510
>                 URL: https://issues.jboss.org/browse/RF-12510
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.2.Final
>         Environment: Tomcat 6.0.X
>            Reporter: Jan Pernica
>            Assignee: Juraj Húska
>
> When a4j:jsFunction is called then function on data is called twice. Once before action and then after action. How to disable it? RF 3.3.3 have called it just once.
> {code}
> <a4j:jsFunction name="myFunc" data="#{myBean.data}" action="#{myBean.action}"/>
> {code}
> So that myBean.data is called before action call and after action call. How to prevent it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list