Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 76053 invoked from network); 13 Apr 2011 07:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 07:39:47 -0000 Received: (qmail 48919 invoked by uid 500); 13 Apr 2011 07:39:47 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 48833 invoked by uid 500); 13 Apr 2011 07:39:46 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 48808 invoked by uid 99); 13 Apr 2011 07:39:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 07:39:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 07:39:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B7D989FBFF for ; Wed, 13 Apr 2011 07:39:05 +0000 (UTC) Date: Wed, 13 Apr 2011 07:39:05 +0000 (UTC) From: "Daniel Niklas (JIRA)" To: dev@myfaces.apache.org Message-ID: <638929037.54484.1302680345749.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (TRINIDAD-1910) portal: common.js is included serveral times MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TRINIDAD-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019236#comment-13019236 ] Daniel Niklas commented on TRINIDAD-1910: ----------------------------------------- TRINIDAD-53 - last activity 12/Jun/07 TRINIDAD-1705 - last activity 03/Feb/10 We are working in portal environment - we need a lot of patches and workarounds for Trinidad! Without this "stop gap" we are not able to use Trinidad for our productive applications! There seems to be no progress since years. > 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