[richfaces-issues] [JBoss JIRA] (RF-12706) packed resources generate more than one css file with the same name
Pavol Pitonak (JIRA)
jira-events at lists.jboss.org
Fri Jan 11 11:13:08 EST 2013
[ https://issues.jboss.org/browse/RF-12706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavol Pitonak reassigned RF-12706:
----------------------------------
Assignee: Brian Leathem
Reproducible with MyFaces 2.1.10
> packed resources generate more than one css file with the same name
> -------------------------------------------------------------------
>
> Key: RF-12706
> URL: https://issues.jboss.org/browse/RF-12706
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.M3
> Environment: Richfaces 4.3.0.M3, myfaces-2.1.10
> Reporter: Rene O
> Assignee: Brian Leathem
> Attachments: jsf2test.zip
>
>
> Simple Testcase:
> Use at least two different richfaces-components and you can see, that there appear more than one packed-css resource with the same name, which is not the expected behaviour.
> This issue appear within firefox, chrome and ie8
> {code:title=web.xml}
> ...
> <context-param>
> <param-name>org.richfaces.resourceMapping.enabled</param-name>
> <param-value>true</param-value>
> </context-param>
> <context-param>
> <param-name>org.richfaces.resourceMapping.packedStages</param-name>
> <param-value>All</param-value>
> </context-param>
> ...
> {code}
> {code:title=testpage.xhtml}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:rich="http://richfaces.org/rich"
> >
> <h:head>
> <title>JSF Test</title>
> </h:head>
> <h:body>
> <h:form id="testForm">
> <rich:panel id="testPanel">
> <f:facet name="header">
> Test
> </f:facet>
> Content
> </rich:panel>
>
> <rich:select id="select" value="none">
> <f:selectItem itemLabel="label" itemValue="test"/>
> </rich:select>
> </h:form>
> </h:body>
> </html>
> {code}
> {code:title=html-output}
> <link rel="stylesheet" media="screen" type="text/css" href="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0.20121214-M3/PackedCompressed/DEFAULT/packed/packed.css" />
> <link rel="stylesheet" media="screen" type="text/css" href="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0.20121214-M3/PackedCompressed/DEFAULT/packed/packed.css" />
> {code}
--
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