I am using a rich:tree and want to avoid hard-coding image urls in the xhtml file. Also, I want to use different images for different nodes. This doesn't work:
CSS:
.agencynode .rich-tree-node-icon {
background-image: url(../img/agency.png);
}
xhtml file:
<rich:treeNode nodeClass="agencynode" />
My CSS is poor, I don't even know if I am doing this right, suggestions?
I am using a rich:tree and want to avoid hard-coding image urls in the xhtml file.