[richfaces-issues] [JBoss JIRA] (RF-13115) a4j:jsFunction is not firing ajax request when the generated js function is called at window.unload event

Vaibhav Kapoor (JIRA) jira-events at lists.jboss.org
Thu Aug 1 20:27:26 EDT 2013


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

Vaibhav Kapoor edited comment on RF-13115 at 8/1/13 8:27 PM:
-------------------------------------------------------------

Coming back to the logged issue. 
M not sure if this is a bug with a4j:jsFunction. 
The issue that i reported 'does work' with IE 7 and IE 8 {with document mode IE7} and RF version 3.3.3 . 
We have a old application in production using the same logic, which i am trying to migrate to RF 4.3.x
Sample is available at https://github.com/numerouno979/test-a4j-jsFunction-with-RF3.3.3.git.
NOTE: this sample does not works with IE 10 [even by setting document mode]. 

Or, may be its because of enhancements in IE on window.unload.

                
      was (Author: vaibhav.kapoor):
    Coming back to the logged issue. 
M not sure if this is a bug with a4j:jsFunction. 
The issue that i reported 'does work' with IE 7 and IE 8 {with document mode IE7} and RF version 3.3.3 . 
We have a old application in production using the same logic, which i am trying to migrate to RF 4.3.x
Sample is available at https://github.com/numerouno979/test-a4j-jsFunction-with-RF3.3.3.git.
NOTE: this sample does not works with IE 10 [even by setting document mode]. 




                  
> a4j:jsFunction is not firing ajax request when the generated js function is called at window.unload event
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13115
>                 URL: https://issues.jboss.org/browse/RF-13115
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.3.1
>         Environment: tomcat 6, windows 7 , IE 10 / chrome 28.0.1500.95
>            Reporter: Vaibhav Kapoor
>
> Requirement : I need to call a method on backing bean on event of page unload. Approach : So i have created a a4j:jsFunction and am trying to call it on window.unload event. 
> Issue Description : When the page refreshes, js function attached to window.unload event is called and executes correctly. All statements in console.log() are called correctly. But, the method in the backing bean is never called.   

--
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