I do not see a problem with that. It passes all tests. In trunk. Thanks Michael
On Sunday, 26 August 2012 14:07:16 UTC-5, Michael W wrote: > > Would it be possible to move the call to _postprocessing in DIV.__init__ > to the very end? As it is right now in _postprocessing the parent hasn't > been set yet, since _postprocessing is not called last. I have made this > change on my local branch and it does not seem to affect anything that I > can tell. It does make it possible for me to use the parent attribute of > self.components in _postprocessing though. > > _postprocessing should be the last thing __init__ does. Is there any > particular reason that there is processing happening (setting parent on > components) in __init__ after _postprocessing is run? I cannot think of > anything that would be broken by this change, but I am far from an expert > on web2py so that's why I am asking here. I would prefer to use > _postprocessing for things instead of having to override xml and the > computation running every time the component is rendered, when it can be > handled once at creation. > > Michael > --

