Re: [Zope-CMF] getActionObject() deprecated?

2010-04-19 Thread Charlie Clark
Am 19.04.2010, 15:35 Uhr, schrieb yuppie : > And please don't forget that I plan to replace the unauth redirect code > completely. I've been working on a "getLoginURL()" method to be able to handle login/logout actions as well as the current behaviour but I don't seem to be able to write any

Re: [Zope-CMF] getActionObject() deprecated?

2010-04-19 Thread Charlie Clark
Am 19.04.2010, 15:35 Uhr, schrieb yuppie : Hiya Yuppie, > Yes. You don't need that method for newstyle Actions. Just use this if > you want to get the Action object: > atool.user.login hm, direct access by attributes, who'd have thunk it!? ;-) > But you don't need the Action itself. You need th

Re: [Zope-CMF] getActionObject() deprecated?

2010-04-19 Thread yuppie
Hi! Charlie Clark wrote: > this may just be another case of me being thick but whilst working on > CookieCrumler I took a look at the best way for getting the "user/login" > and "user/logout" actions. getActionObject("user/login") would seem to be > best approach. However, it will not work with a

[Zope-CMF] getActionObject() deprecated?

2010-04-19 Thread Charlie Clark
Hi, this may just be another case of me being thick but whilst working on CookieCrumler I took a look at the best way for getting the "user/login" and "user/logout" actions. getActionObject("user/login") would seem to be best approach. However, it will not work with any straight actions as n