You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Todd O'Bryan <to...@mac.com> on 2004/10/17 15:18:04 UTC

Stylesheet confusion

I'm trying to use the stylesheet attribute with @Shell, and I've run 
into an interesting problem.
In my Home.html file, I have
	<html jwcid="@Shell" stylesheet="ognl:assets.stylesheet" title="Home 
Page">

In my Home.page file, I have
	<context-asset name="stylesheet" path="WEB-INF/dmorg.css"/>

When I try to display the file, I seem to get some stylesheet (because 
the first line of my body text has a dark grey background and is 
printed in white, along with all text being sans-serif), but not mine. 
When I view the source, I see
	<link rel="stylesheet" type="text/css" 
href="/dupontmanual/WEB-INF/dmorg.css"/>

which is where the file is, I guess. Home.html is right inside the 
WEB-INF directory and dmorg.css is in the same directory. 
/dupontmanual/app is how I view the file.

Am I doing something obviously wrong?

Thanks,
Todd




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org