Hi,

I've made some progress on tw2 in the past couple of weeks.

Validation has had minor changes and the documentation is improved. Unicode
conversion is now done all at once, instead of one field at a time (ticket
62). State is now passed between validators; this has enabled a refactor of
MatchValidator (ticket 18). Previously you applied it to a CompoundWidget
and specified the two child widgets that needed to match. Now you apply it
to a Widget, and specify the sibling widget it needs to match. It you're
using already using MatchValidator, you'll need to update your code.

In tw2.forms, selection fields have been refactored. Previously, validation
was applied even on validation failures; this is no longer the case. To make
selection fields redisplay properly on failure, comparisons are done on
Unicode objects. This behaviour has made it easier to implement database
functionality. It is not expect to break compatiblity. Also, the
default_selected parameter is gone; it is now called prompt_text, and can be
used to specify text in a selection field like "Please select an item".

Work has started on tw2.sqla, a layer like Rum and Sprox. I've put the
repository on bitbucket; it is highly experimental, but already useful for
my own applications. Some documentation exists, although no tutorial.
http://bitbucket.org/paj/tw2.sqla

Work coming up:
1) Merge my branches with Chris Perkin's
2) Write some tutorials
3) Put the widget browser on toscawidgets.org.

Then it's probably time for another PyPI release.

I will be at EuroPython this coming week, and working on tw2. Is anyone else
going?

Best wishes,

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"ToscaWidgets-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/toscawidgets-discuss?hl=en.

Reply via email to