On 11/28/05, Michele Cella <[EMAIL PROTECTED]> wrote: > Kevin, regarding this what do you think about my proposal of hiding the > widget insert mechanism behind a custom tag? > > <widget name="datepicker" [attributes for others options] />
It looks nice, but widgets are designed to take raw Python objects and using this form will get you nothing but strings. Some widgets (think of multiple selection types of things) will require lists/sets/dictionaries... others may require ints. We could make __call__ equivalent to insert, which saves a little typing but does not eliminate the flexibility... Kevin

