On 3/21/10 7:40 AM, Hanno Schlichting wrote: > On Sun, Mar 21, 2010 at 2:26 PM, Martin Aspeli <optilude+li...@gmail.com> > wrote: > >> I suggest we use the dict context (implement getContent() and return a dict) >> instead of all those adapters to get/set values as we do presently. >> > Ok. I'll have a look at that. > > Those adapters only exist, as the context of the form is the plone > site root, but the settings come from many different places. Some of > the forms redefine self.context, some of them use some property > helpers to deal with portal_properties and value conversions. So there > needs to be some form of intermediate layer in between, but I don't > care what it is. > -1 on this, which feels like change just for change's sake -- unless it's really clear it makes the code more readable. David
-- David Glick Web Developer Groundwire 206.286.1235x32 davidgl...@groundwire.org http://groundwire.org ONE/Northwest is now Groundwire! _______________________________________________ Framework-Team mailing list Framework-Team@lists.plone.org http://lists.plone.org/mailman/listinfo/framework-team