[Zope-CMF] [dev] more add menu changes

Charlie Clark charlie at begeistert.org
Fri Sep 12 07:32:02 EDT 2008

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 Clark
Helmholtzstr. 20
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226

More information about the Zope-CMF mailing list