<div>Probably z3c.zrtresource might be of some use? </div>
<div>&nbsp;</div>
<div><a href="http://svn.zope.org/z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt?rev=69512&amp;view=auto">http://svn.zope.org/z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt?rev=69512&amp;view=auto</a><br>&nbsp;</div>

<div>- Shailesh</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/8/07, <b class="gmail_sendername">Yuan HOng</b> &lt;<a href="mailto:hongyuan1306@gmail.com">hongyuan1306@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>How do I dynamically generate javascript and css files and how to register them?<br><br>ZPT doesn&#39;t seem to be a viable solution for generating these. DTML as
<br>far as I know is no longer available. So I think I should write a<br>browser view to generate it in python with string formatting.<br><br>Then how do I registered them? Using browser:page directive just like<br>for a normal HTML page?
<br>But that would send text/html as the content type I guess, not text/javascript.<br><br>What&#39;s the zope3&#39;s way of dynamicall script and css generation?<br><br>--<br>Hong Yuan<br><br>大管家网上建材超市<br>装修装潢建材一站式购物<br>
<a href="http://www.homemaster.cn">http://www.homemaster.cn</a><br><br>_______________________________________________<br>Zope3-users mailing list<br><a href="mailto:Zope3-users@zope.org">Zope3-users@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope3-users">
http://mail.zope.org/mailman/listinfo/zope3-users</a><br><br></blockquote></div><br>