AW: [Zope3-Users] clearing grouped widgets in z3c.form

2008-03-07 Thread Roger Ineichen
Hi John I think that's a question for Stephan > Betreff: Re: [Zope3-Users] clearing grouped widgets in z3c.form > > Widgets are cleared because after zope processes the editform > (with Done or Delete button pressed), the selectedItem in the > table becomes None, so

Re: [Zope3-Users] clearing grouped widgets in z3c.form

2008-03-06 Thread John
Widgets are cleared because after zope processes the editform (with Done or Delete button pressed), the selectedItem in the table becomes None, so the addform is then displayed. In the example, the addform and editform have distinct prefixes, so their fields have distinct names in the request

[Zope3-Users] clearing grouped widgets in z3c.form

2008-02-28 Thread John
In modifying the formdemo/addressbook example to use groups, I found that fields in groups are not cleared to their default values when the Done or Delete button is pressed in the editform, resulting in an addform with values from the previous editform. Fields that are not in groups are cleare