[richfaces-issues] [JBoss JIRA] (RF-12215) Javascript files included several times when using Portlets and RF

Markus Staab (JIRA) jira-events at lists.jboss.org
Fri Apr 27 05:00:19 EDT 2012


     [ https://issues.jboss.org/browse/RF-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Staab updated RF-12215:
------------------------------

    Description: 
we use RF in a liferay portal env. on our startpage are several portlets deployed.
most of theese portlets use rich:modalpanel and therefore include the modalpanel.js, each on it's own.

Since the browser loads each portlet after another (and renders their javascript files inside the portlets div-container) the javascript files override each other.

This problem is not unique to the modalpanel.js but all other javascript files which define global vars.

  was:
we use RF in a liferay portal env. on our startpage are several portlets deployed.
most of theese portlets use rich:modalpanel and therefore include the modalpanel.js, each on it's own.

Since the browser loads each portlet after another (and renders their javascript files inside the portlets div-container) the javascript files override each other.


    
> Javascript files included several times when using Portlets and RF
> ------------------------------------------------------------------
>
>                 Key: RF-12215
>                 URL: https://issues.jboss.org/browse/RF-12215
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.3.Final
>         Environment: Liferay 5.2.4, JSF 1.2, RF 3.3.3
>            Reporter: Markus Staab
>
> we use RF in a liferay portal env. on our startpage are several portlets deployed.
> most of theese portlets use rich:modalpanel and therefore include the modalpanel.js, each on it's own.
> Since the browser loads each portlet after another (and renders their javascript files inside the portlets div-container) the javascript files override each other.
> This problem is not unique to the modalpanel.js but all other javascript files which define global vars.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list