[richfaces-issues] [JBoss JIRA] (RF-13239) Popup panel: CSS class rf-pp-hdr contains invalid property repeat-x

Pavol Pitonak (JIRA) issues at jboss.org
Mon Jan 13 07:38:33 EST 2014


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

Pavol Pitonak reopened RF-13239:
--------------------------------



Image URL is not rendered correctly in RF 5:

{code}
*.rf-pp-hdr {
	background: "#BED6F8" "url()" repeat-x scroll top left;
... }
{code}

In RF 4.3, this warning is present in browser console (notice quotes):
{code}
Invalid CSS property value: "#BED6F8" "url(/metamer/faces/rfRes/gradientA.png?v=4.3.5-SNAPSHOT&db=eAFjZJBjZDBiZBBh!P!p-3!G!!uu!WBgAgA7vgfe&ln=org.richfaces.images)" repeat-x scroll top left 
{code}

Probably this (or something similar) should be used in popupPanel.ecss:
{code}
background: "#{richSkin.headerBackgroundColor} #{richSkin.imageUrl('gradientA.png')} repeat-x scroll top left";
{code}

                
> Popup panel: CSS class rf-pp-hdr contains invalid property repeat-x
> -------------------------------------------------------------------
>
>                 Key: RF-13239
>                 URL: https://issues.jboss.org/browse/RF-13239
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-panels-layout-themes
>    Affects Versions: 5.0.0.Alpha1
>         Environment: RichFaces 5.0.0-SNAPSHOT
>            Reporter: Pavol Pitonak
>            Assignee: Brian Leathem
>            Priority: Minor
>              Labels: needs-qe
>             Fix For: 4.3.5, 4.5.0.Alpha2, 5.0.0.Alpha3
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richPopupPanel/simple.xhtml
> # check browser console
> result:
> * Invalid CSS property name: repeat-x (in popupPanel.ecss, line 40)
> possible solution:
> * replace 
> {code}
> .rf-pp-hdr {
> 	background: url(...);
> 	repeat-x: top left #BED6F8;
>         ...
> }
> {code}
> * with 
> {code}
> .rf-pp-hdr {
> 	background: url(...) repeat-x top left #BED6F8;
>         ...
> }
> {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