Am 19.04.2010, 15:35 Uhr, schrieb yuppie <y.2...@wcm-solutions.de>:
> Yes. You don't need that method for newstyle Actions. Just use this if
> you want to get the Action object:
hm, direct access by attributes, who'd have thunk it!? ;-)
> But you don't need the Action itself. You need the ActionInfo object.
> Use this to get the login url:
> target = atool.getActionInfo('user/login')['url']
So, it was me being thick...(I plead hayfever). I got confused looking at
the various layers of ActionProviders, ActionCategories and ActionTools!
> And please don't forget that I plan to replace the unauth redirect code
I haven't forgotten that. Login and Logout are definitely better
definitely done as views as they depend upon working with the Request
Maybe you could edit the CookieCrumbler interface so I don't waste more
time on stuff that's being replaced anyway?
Clark Consulting & Research
Zope-CMF maillist - Zope-CMF@zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests