[richfaces-issues] [JBoss JIRA] (RF-13042) Render h:commandlink: keeps reloading js

Nicolas Daniels (JIRA) jira-events at lists.jboss.org
Thu May 30 05:40:55 EDT 2013


Nicolas Daniels created RF-13042:
------------------------------------

             Summary: Render h:commandlink: keeps reloading js
                 Key: RF-13042
                 URL: https://issues.jboss.org/browse/RF-13042
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: core
    Affects Versions: 4.3.2, 4.2.3.Final
            Reporter: Nicolas Daniels
            Priority: Critical


Javascript resource is reloaded at each render, and so javascript was becoming heavier and heavier to run (to end by a not responsive alter on FF -or even FF hangs forever).

 
After more investigation, I noticed it is due to the h:commandlink tag which was inside my rerendered part.

Workaround:

Add:

{code:xml} 
<h:inputText rendered="false">
<f:ajax />
</h:inputText>
{code}

in your page, Js is not reloading anymore. (I inserted it at the end but I guess it works anywhere)

See forum link for more details.

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