Hello Justin, Get http://pypi.python.org/pypi/mypypi it's a rather nice example how to build a Zope 3^H^H^H^H^H^H Bluebream app.
Sunday, July 25, 2010, 3:31:50 PM, you wrote: JR> Whups, forgot to set the from addy as my list subscribed mail. JR> On Sun, Jul 25, 2010 at 6:30 AM, Justin Ryan <a.different.address> wrote: JR> JR> On Sun, Jul 25, 2010 at 1:50 AM, Adam GROSZER <[email protected]> wrote: JR> Hello Justin, JR> JR> browser:menu is rather ancient, I won't use it anymore. JR> I can't find a working example of, e.g., how to enumerate menu JR> items based on it, so I suspected this may be the case.. JR> JR> JR> JR> Current menu stuff is better done with viewlets, they manage security JR> well too. JR> JR> any examples? :) JR> JR> If your task is not about a menu, you can check perm with: JR> JR> if JR> zope.security.management.thread_local.interaction.checkPermission( JR> 'your.permisson-id', self.context): JR> ah-ha! I think you're right about using viewlets, but for the JR> moment, this is what I was looking for. JR> JR> JR> Thanks, again! JR> Justin JR> JR> -- Best regards, Adam GROSZER mailto:[email protected] -- Quote of the day: Success has a simple formula: do your best, and people may like it. - Sam Ewing _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
