Hi

I think that this might be a bug in Clay. I have debugged through the
Tomahawk StyleSheet component, and the method setPath on StyleSheet is never
called from Clay.


Hermod


-----Opprinnelig melding-----
Fra: Hermod Opstvedt [mailto:[EMAIL PROTECTED] 
Sendt: 16. oktober 2006 21:39
Til: user@shale.apache.org
Emne: Tomahawk t:stylesheet component in Clay

Hi

Since my <link
href="#{facesContext.externalContext.requestContextPath}/theme/styles.css"/>
does not work anymore, I thought I would give the Tomahawk t:stylesheet
component a try. However it does not seem to work properly:

In my Clay template .html file I have:

<span jsfid="clay" clayjsfid="t:stylesheet" path="/theme/styles.css"
allowbody="false"></span>

But instead of rendering:
<link rel="stylesheet" type="text/css" href="/ClayMal/theme/styles.css" />
It renders:
<link rel="stylesheet" type="text/css" href="/ClayMalnull" />

Am I barking up the wrong tree here or is this maybe a bug in Clay or the
tomahawk-1.1.3.xml definition?

Hermod

Reply via email to