[Zope3-dev] zcml: ForbiddenAttribute in menuItem filter

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jun 23 09:21:07 EDT 2005


On Tuesday 10 May 2005 10:48, Tarek Ziadé wrote:
> I get a ForbiddenAttribute when I try to use a filter parameter in a
> browser:menuItem
>
>   <browser:menuItem
>     menu="object"
>     title="cpsma_add_subfolder"
>     for=".interfaces.IMailFolder"
>     action="view?add_folder=1"
>     permission="cpsmailaccess.ViewMailBox"
>    filter="python:context.canCreateSubFolder()"
>     />

Which interface declares canCreateSubFolder()? There have been a couple 
reports about menu's filter not working correctly, so I want to know whether 
this is a real problem. Also, did it work as a TALES expression?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list