[Zope3-Users] dynamicall javascript and css generation

Shailesh Kumar shaileshk at gmail.com
Mon Oct 8 20:52:17 EDT 2007


Probably z3c.zrtresource might be of some use?

http://svn.zope.org/z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt?rev=69512&view=auto

- Shailesh


On 10/8/07, Yuan HOng <hongyuan1306 at gmail.com> wrote:
>
> Hi,
>
> How do I dynamically generate javascript and css files and how to register
> them?
>
> ZPT doesn't seem to be a viable solution for generating these. DTML as
> far as I know is no longer available. So I think I should write a
> browser view to generate it in python with string formatting.
>
> Then how do I registered them? Using browser:page directive just like
> for a normal HTML page?
> But that would send text/html as the content type I guess, not
> text/javascript.
>
> What's the zope3's way of dynamicall script and css generation?
>
> --
> Hong Yuan
>
> ´ó¹Ü¼ÒÍøÉϽ¨²Ä³¬ÊÐ
> ×°ÐÞ×°ä꽨²Äһվʽ¹ºÎï
> http://www.homemaster.cn
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20071008/c879179c/attachment.htm


More information about the Zope3-users mailing list