[Grok-dev] absolute url for 'static' ?

Michael Haubenwallner michael at d2m.at
Sat Apr 26 14:21:05 EDT 2008


Inside a grok.View i need to create a stylesheet link to
a css file in the static folder.

That is, given an application 'grokdev' and an instance 'test'
i'd need to return

http://localhost:8080/test/@@/grokdev/

I failed using grok.url() and grok.View.url().


Michael

-- 
http://www.zope.org/Members/d2m
http:/planetzope.org



More information about the Grok-dev mailing list