[Zope-dev] z3c.form update issues

Roger Ineichen dev at projekt01.ch
Sat Feb 21 20:50:08 EST 2009


Hi Dan
  
> Betreff: Re: [Zope-dev] z3c.form update issues
> 
> 2009/2/21 Dan Korostelev <nadako at gmail.com>:
> > 2009/2/21 Roger Ineichen <dev at projekt01.ch>:
> >> we should carefully review this part and probably add 
> action.update 
> >> after action.execute. Right now, without looking at the 
> code I think 
> >> we do not update actions after execute. Which could end in 
> bad action 
> >> handler setup because of skipped action condition handling after 
> >> execute actions.
> >
> > ... snip ...
> >
> > One (probably nice) solution that comes in my mind is to 
> make the form 
> > somehow aware if it needs to re-update its actions and to provide a 
> > way for the action handler to signal about that. Probably, a simple 
> > boolean form instance variable will do the trick :)
> 
> I just checked in a fix like I described above. It seems to 
> work at leasts for tests.:-)  Can you please review it?

Yeah great, that's exactly what we need to do. Thanks a lot!

Regards
Roger Ineichen
_____________________________
END OF MESSAGE


> --
> WBR, Dan Korostelev
> 



More information about the Zope-Dev mailing list