[Zope-CMF] Re: [dev] unresolved site manager related issues

Martin Aspeli optilude at gmx.net
Sun Apr 15 19:04:00 EDT 2007


Wichert Akkerman wrote:
> Previously Wichert Akkerman wrote:
>> I have a suspicion that this will be easy for most utilities. We can
>> put that framework in place for CMF 2.1 and start refactoring the tools
>> into utilities on CMF trunk.
> 
> A quick look seems that there are a few common uses of acquisition in
> the tools: to get to the portal via tool.aq_inner.aq_parent, to get
> to the REQUEST object via self.REQUEST and use of absolute_URL. Some
> tools (URLTool, UndoTool) are already free of acquisition-use.

Of course, all the self.REQUEST ones should be views. That implies a 
change of the code using them. I'm not sure how you'd get the request 
otherwise.

> This suggests that it should be quite doable to do a CMF 2.2 where tools
> can be proper acquisition-free utilities.
> 
> Wichert.
> 



More information about the Zope-CMF mailing list