Hi,

I the last few days I've been working on an API cleanup (not yet
finished but mostly so) for the widgets system.

I tried to make them intuitive to use, to customize (very simple
templates, compare them with what TG is actually using) by moving a lot
of logic from templates to where it belongs and provide good default
widgets for forms managing.

What I mean with the last thing?

That for example you get:

SingleSelectField
MultipleSelectField
RadioButtonList
CheckBoxList

they all work in the same way:
 - SingleSelectField and RadioButtonList for a single choiche
 - MultipleSelectField and CheckBoxList for multiple choiches

the only difference stands in their look&feel.

I would like interested people to try them, I've tried to keep them
compatible with the old ones but some things had to be changed.

You can play with my work using a small TG project I've attached here:
http://trac.turbogears.org/turbogears/attachment/ticket/490/NewWidgets-0.5.tar.gz?format=raw

You find forms widgets inside forms.py. :-)

Give it a try and report here your opinions, I'm going to have few time
to do any other work.

Ciao
Michele

PS
Date* are not there.

Reply via email to