[Grok-dev] More Tutorial Feedback

Noah Gift noah.gift at gmail.com
Sat Jan 5 12:19:02 EST 2008


This is related to the previous email, i.e., ZPT, but the directions  
on including javascript are a bit vague:

"Pulling in images or javascript is very similar. Just place your  
image 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20080105/4611cd7d/attachment.htm


More information about the Grok-dev mailing list