New form widget upcoming

15 views
Skip to first unread message

Leslie P. Polzer

unread,
Oct 11, 2010, 8:27:45 AM10/11/10
to weblocks
Hi everyone,

for the past couple of days I've been working on a new form widget
that will feature some substantial advantages. Some of them:

* stateful: uses widgets to model fields and presentations. Field
widgets may influence each other dynamically.

* can be used without views.

* can be used with existing views, a compatibility layer will be
provided.

* decoupled from data -- base class `form-widget' stores intermediate
and parsed values in field widgets instead of mandatory underlying
data objects. A subclass that works with underlying data objects will
be provided.

* preserves the existing view and form widget machinery so existing
code will continue to work.

* new slim layout that doesn't use lists and gets away from the focus
on gridedit child forms.

I expect to have most of this finished very soon. Ideas and comments
are highly welcome.

Leslie

Nandan Bagchee

unread,
Oct 11, 2010, 9:03:31 AM10/11/10
to webl...@googlegroups.com

* decoupled from data -- base class `form-widget' stores intermediate
and parsed values in field widgets instead of mandatory underlying
data objects. A subclass that works with underlying data objects will
be provided.

That's really cool. There were several instances where the current form-widget did not properly model user expectations when they hit cancel.

* new slim layout that doesn't use lists and gets away from the focus
on gridedit child forms.

Likewise, this was a major UI pattern, and having generalized 1st-class alternatives will be great.

cheers,
 Nandan
Reply all
Reply to author
Forward
0 new messages