[Zope-dev] z3c.form update issues

Dan Korostelev nadako at gmail.com
Sat Feb 21 17:35:44 EST 2009


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?

-- 
WBR, Dan Korostelev


More information about the Zope-Dev mailing list