[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 14:47:26 EDT 2013


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

Vaibhav Kapoor commented on RF-13115:
-------------------------------------


Thanks Brian for the quick response.
It will be great if i can call my backing bean over a rest call. Please point me to the related documentation.


                
> 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