Am 12.09.2008 um 10:56 schrieb yuppie:

> I doubt that works: 'context' and expression context are not the same.

It does 'cos it came from my working demo.

>> I can't think of any other way to do this other than to call this
>> expression before returning it to the template. But it's more than
>> possible I've overlooked something.
>
> Why do you want to bypass the actions machinery?

Because I was too stupid to realise I could use it!

> Something like that should work in main_template:
> tal:define="add_forms python: actions.get('folder/add', {});"


Indeed it does. Thank you very much.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to