On 10/16/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote:
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>

I think what you may want here instead is

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

I think the way you had it path was being interpreted as a symbol
(clay component has no such attribute) instead of a property.


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