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

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to