On 2011-02-16 15:03:46 +0100, Peter Uittenbroek said:
What I want to do in jsregistry.xml is something like this:
<javascript
id="++resource++beautiful.theme.javascripts/main.js"
cacheable="False" compression="safe" cookable="False"
enabled="True" expression="python:
beautiful.theme.browser.interfaces.IThemeSpecific.providedBy(context)"
inline="False"/>
this is almost correct... you should use request insted of context,...
expression="python:
beautiful.theme.browser.interfaces.IThemeSpecific.providedBy(request)
--
Rok Garbas, Plone Consulting
[email protected]
http://www.garbas.si
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers