[Zope-CMF] getActionObject() deprecated?

Charlie Clark charlie.clark at clark-consulting.eu
Mon Apr 19 08:56:59 EDT 2010


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 none  
of them have a category. As things stand this method will only work with  
Type actions. Is this correct?

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Zope-CMF mailing list