[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Formulator/Widgets/Browser - BrowserWidget.py:1.3

Stephan Richter srichter@cbu.edu
Sun, 14 Jul 2002 09:32:55 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Formulator/Widgets/Browser
In directory cvs.zope.org:/tmp/cvs-serv5853/Zope/App/Formulator/Widgets/Browser

Modified Files:
	BrowserWidget.py 
Log Message:
- I finished the Schema code. We now have the following Fields defined
  by default: String, Boolean, Integer, Float, Tuple, List, Dictionary

- I also reworked the Validator in a major way. A Validator now does only 
  one thing, such as check that a value has the right type. The Validators
  are then put into a ContainerValidator which runs through all the 
  specified Validators. BTW, I hope you like the code... I do. :)

- Rewrote and added new tests. Note that there are no explicit tests for 
  the Validators, since they are tested already through the Field validate
  method.

- Started working on Forms. There is a whole lot of work to be done there.
  More checkins on that later...


=== Zope3/lib/python/Zope/App/Formulator/Widgets/Browser/BrowserWidget.py 1.2 => 1.3 ===
         return "%s>%s</%s>" % (apply(renderTag, (tag,), kw), contents, tag)
     else:
         return apply(renderTag, (tag,), kw) + " />"
-    
-
-
-
-
-
-