Re: use dynamic stylesheet

2007-07-12 Thread dtra

oops, using tapestry 4.0.2, Hivemind 1.1.1

is it possible to disable the hash in the include url? or generate my own?
-- 
View this message in context: 
http://www.nabble.com/use-dynamic-stylesheet-tf4066464.html#a11571141
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



use dynamic stylesheet

2007-07-12 Thread dtra

hi all

i'm trying to make a web application use different stylesheets based on the
url, eg. we will have different versions of the site based on the subdomain,
so the site will essentially be the same, but the layout/gui will be
different

this is what i have in my Border.java

public IAsset getStylesheet() {
Resource cpr = new ContextResource(new
ApplicationGlobalsImpl().getServletContext(), 

   "/path/to/components/style1.css");
return new ContextAsset(getBasePage()

.getHttpServletRequest()

.getContextPath(),
cpr,
new 
LocationImpl(cpr),

getBasePage().getRequestCycle());
}

in my Border.jwc Shell component spec, i have


the link tag that shows up in the html looks like (which is not working)


but what i need is



which is how it works with the static assets

can anyone help me out?

thanks
dave
-- 
View this message in context: 
http://www.nabble.com/use-dynamic-stylesheet-tf4066464.html#a11554775
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]