From jira-events at lists.jboss.org Mon Feb 13 05:54:01 2012
Content-Type: multipart/mixed; boundary="===============6298878834228961670=="
MIME-Version: 1.0
From: =?utf-8?q?Luk=C3=A1=C5=A1_Fry=C4=8D_=28JIRA=29_=3Cjira-events_at_lists=2E?=
=?utf-8?q?jboss=2Eorg=3E?=
To: richfaces-issues at lists.jboss.org
Subject: [richfaces-issues] [JBoss JIRA] (RF-11974) Resource packaging does
not work on MyFaces
Date: Mon, 13 Feb 2012 05:54:00 -0500
Message-ID: <1187643565.855.1329130440997.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com>
In-Reply-To: 204473284.35936.1328864588537.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com
--===============6298878834228961670==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
[ https://issues.jboss.org/browse/RF-11974?page=3Dcom.atlassian.jira.pl=
ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12665994#com=
ment-12665994 ] =
Luk=C3=A1=C5=A1 Fry=C4=8D edited comment on RF-11974 at 2/13/12 5:52 AM:
----------------------------------------------------------
Here is the MyFaces interface for handling resources:
http://myfaces.apache.org/shared20/myfaces-shared-core/apidocs/org/apache/m=
yfaces/shared/renderkit/html/util/ResourceUtils.html
Such interface should be made part of the specification.
For RichFaces, I would recommend:
* create new service for handling resources (similarly to MyFaces' {{Resour=
ceUtils}})
** detection of JSF runtime
* hold by ServiceTracker
=
was (Author: lfryc):
Here is the MyFaces interface for handling resources:
http://myfaces.apache.org/shared20/myfaces-shared-core/apidocs/org/apache/m=
yfaces/shared/renderkit/html/util/ResourceUtils.html
Such interface should be made part of the specification.
For RichFaces, I would recommend:
* create new service for handling resources (similarly to MyFaces' {{Resour=
ceUtils}})
* hold by ServiceTracker
=
> Resource packaging does not work on MyFaces
> -------------------------------------------
>
> Key: RF-11974
> URL: https://issues.jboss.org/browse/RF-11974
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see) =
> Affects Versions: 4.2.0.CR1
> Environment: richfaces-4.2.0.CR1, myfaces-2.1.6, firefox 10
> Reporter: Rene O
> Assignee: Luk=C3=A1=C5=A1 Fry=C4=8D
> Labels: myfaces
>
> Was: Optimizing Resource Loading with RichFaces 4.2 doesn't work as expec=
ted
> If i use resource loading optimizing, the packed js resources are include=
d multiple times, which is not the expected behaviour.
> Here is a simple usecase:
> {code:title=3Dsimplepage.xhtml}
>
> xmlns:h=3D"http://java.sun.com/jsf/html"
> xmlns:f=3D"http://java.sun.com/jsf/core"
> xmlns:ui=3D"http://java.sun.com/jsf/facelets"
> xmlns:a4j=3D"http://richfaces.org/a4j"
> xmlns:rich=3D"http://richfaces.org/rich"
> >
>