myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Issue Comment Edited] (TRINIDAD-1910) portal: common.js is included serveral times
Date Tue, 12 Apr 2011 18:22:06 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018966#comment-13018966
] 

Scott O'Bryan edited comment on TRINIDAD-1910 at 4/12/11 6:22 PM:
------------------------------------------------------------------

Please see TRINIDAD-53 and TRINIDAD-1705

      was (Author: darkarena):
    Please see TRINIDAD-53 and TRINIDAD=1705
  
> portal: common.js is included serveral times
> --------------------------------------------
>
>                 Key: TRINIDAD-1910
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1910
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.0.10-core
>            Reporter: Daniel Niklas
>         Attachments: Page.js-trinidad-1910-patch.txt, XhtmlUtils-patch.txt
>
>
> The commons.js is included several times, when you have more than one trinidad-porlet
on your portal-site.
> In XhtmlUtils#writeLibImport there is a mechanism to prevent including javascript libs
more than one time (portal environment). This mechanism is not working, when you have more
than one Trinidad-portlets within different web apps. 
> The problem is, that the key contains the webapp context!
> Here " _uixJSL" for example contains:
> "/webapp-one/adf/jsLibs/Common1_0_10.js" 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message