What are FormWidgets ?

FormWidgets are XUL Elements that implement harvest and seed as explained in the chapter harvest and seed. This means they can translate their state into (one or more) name/value/label triplets, and be initialized by such triplets.

The FormButton addon uses harvest on a nested group of widgets to create HTTP/CGI queries and execute them. It can also use seed to initialize such groups of widgets.

The WidgetTree addon allows you to edit the contents of a treecell in a tree by doubleclicking on it. It only works for contenttrees.

Who needs FormWidgets ?

Nobody :) but it might be usefull for

Roadmap

I've been coding more than I've been able to test. So there are bugs. Most code is pretty simple, and most bugs will just be typoos, please let me know and I'll fix them in due time.

FAQ

Is It AJAX ?
If you use it to retrieve serverside XML data I think it is. Please refrain from abbreviations that have no clear definition somewhere. But if you want to impress your boss, this is a ECMA driven XUI component, so it's completely BUZZW compliant :)
What's with values vs. label ?
Formwidgets exchange values and labels quite often .. I agree it's confusing and needs to be reconsidered. However, often "data input" has no label to offer to a widget and reversely, normal xulelements have no "value" to offer for data sets. At times they are swapped at the level of the formwidget, which is wrong, it could be swapped more generally at the level of the datahandler, eg, the formbutton.