[richfaces-issues] [JBoss JIRA] Created: (RF-11367) rich:tree doesn't display default icons in tree items

Ján Jamrich (JIRA) jira-events at lists.jboss.org
Tue Aug 30 15:27:26 EDT 2011


rich:tree doesn't display default icons in tree items
-----------------------------------------------------

                 Key: RF-11367
                 URL: https://issues.jboss.org/browse/RF-11367
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.1.0.Milestone2
         Environment: RichFaces 4.1.0-SNAPSHOT r.d4cacc1028d08b8e6e4da1e28bd58013638fd5f2
Metamer 4.1.0-SNAPSHOT r.unknown
Mojarra 2.1.2-FCS
Apache Tomcat 7.0.19
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/10.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30
            Reporter: Ján Jamrich
            Assignee: Lukáš Fryč


Problem reported by community is possible simulate in Metamer as well.
rich:tree (or rich:treeNode) displays own images before tree item if not set explicitly.

But now this icon is missing. The placeholder for icon is span with class "rf-trn-ico-lf" with following definition:
.rf-trn-ico-lf {
   background: url(http://localhost:8080/metamer-mojarra/faces/rfRes/tree.ecss?db=eAFLq7x7HgAFkAKM&ln=org.richfaces) no-repeat 50% 50%;
}

But when open URL "http://localhost:8080/metamer-mojarra/faces/rfRes/tree.ecss?db=eAFLq7x7HgAFkAKM&ln=org.richfaces", no image is returned (image is missing)

The class definition in resources (richfaces-components-ui.jar /META-INF/resources/org.richfaces/tree.ecss) is following:

.rf-trn-ico-lf {
    background: "url(#{resource['org.richfaces.images:leaf_icon.gif']}) no-repeat center";
}

But no folder named "org.richfaces.images" exists within richfaces-component-ui.jar neither richfaces-core-impl.jar

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

       



More information about the richfaces-issues mailing list