[Zope-dev] manage_options in 2.3

Brian Lloyd brian@digicool.com
Thu, 8 Feb 2001 10:17:09 -0500


> Thanks for the new management interface guys I happily wrote a
> product last
> night and did a quick interface using the standard Folder interface and
> fiddled with filtered_meta_types list and dontAllowCutandPaste
> and so on. A
> quick How-To will be on its way. I got a wierd error trying to fiddle with
> manage_options though, in the olden days something like this worked:
>
>     manage_options = (
>         ( Folder.manage_options[0], ) +
>         ( {'label':'View', 'action':'my_index_html', ) +
>         ( Folder.manage_options[2:], )
>         )
>

Dunno if this is the actual problem or just a typo in the
email:

>     manage_options = (
>         ( Folder.manage_options[0], ) +
>         ( {'label':'View', 'action':'my_index_html', ) +
                                                    ^ need to close dict
w/ }

I suspect its an email typo, though (I would have expected a
SyntaxError, unless it was being consumed somehow).

Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.com