1 Reply Latest reply on Jul 2, 2008 5:27 PM by David Greenberg

    Load image from JAR using xcss

    David Greenberg Newbie

      Hi,

      I am trying to set the backgrounds of my hyperlinks to be an image that is contained in a JAR. Is there any way to do this? What I have below does not work:

      <?xml version="1.0" encoding="UTF-8" ?>
      
      <f:template xmlns:f="http://jsf.exadel.com/template"
       xmlns:u="http://jsf.exadel.com/template/util"
       xmlns="http://www.w3.org/1999/xhtml">
      
       <f:verbatim><![CDATA[
       ]]></f:verbatim>
      
       <u:selector name="a">
       <u:style name="background-image" value="resource://test.gif" />
       </u:selector>
      
      </f:template>
      


      Thanks,
      David