[Grok-dev] Re: More Tutorial Feedback
faassen at startifact.com
Sat Jan 5 18:07:55 EST 2008
Noah Gift wrote:
> This is related to the previous email, i.e., ZPT, but the directions on
> files and .js files in the static directory, and create the URL to them
> usingstatic/<filename> in your page template"
> Explicit is better than implicit...
> Does this mean, you need to use the same syntax as for CSS
> inclusion,i.e.: <link rel="stylesheet" type="text/css"
> href="http://localhost:8080/test/@@/sample/style.css" />, or a
> standard include as in a regular XHTML file.
The trick is to use tal:attributes so you can dynamically evaluate path
expressions. Then you use the special 'static' name to go into your
More information about the Grok-dev