[Zope-CMF] Problems with calling portal_actions

Chris Withers chrisw@nipltd.com
Tue, 22 Apr 2003 16:42:18 +0100


Paul Winkler wrote:
>>3                         subnav python:'portal_subcontents' +
>>str(current+1);
>>4                         portal_contents actions/subnav|nothing;
> 
> 
> Line 4 says "Find actions/subnav (literally!) or nothing."
> you need something more like (untested)

Hmmm... not sure... I think it means:

start with the actions variable and get something called 'subnav' from it.

if an error occurs that smells like subnav couldn't be obtained from actions, 
put None in portal_contents.

What lead you to believe it was different from this?

cheers,

Chris