[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Forms - Converter.py:1.3
Stephan Richter
srichter@cbu.edu
Tue, 16 Jul 2002 10:03:32 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms
In directory cvs.zope.org:/tmp/cvs-serv29241/lib/python/Zope/App/Forms
Modified Files:
Converter.py
Log Message:
Okay, I finished the basic Widget stuff and wrote tests for it, which seemed
like it took forever. There are still not all test cases covered, but we
will have to do this over time. I also expect that some of the code will
change anyways.
I also disabled briefly the Form tests, since I broke them, but I am working
on it now anyways, so they will be fixed soon.
What am I going to work on next?
- Make FormViews work nicely.
- Make Widget instances View factories (or something similar)
- Write configuration files for the stuff
- Write a Form layouter.
Note that I will try not to touch the converter, since I think other people
are working on it.
=== Zope3/lib/python/Zope/App/Forms/Converter.py 1.2 => 1.3 ===
return value
-class StrToIntConverter(FieldConverter):
- """ """
- __convert_from__ = IStr
- __convert_to__ = IInt
-
-
-class StrToFloatConverter(FieldConverter):
- """ """
- __convert_from__ = IStr
- __convert_to__ = IFloat
-
-
-class StrToBoolConverter(FieldConverter):
- """ """
- __convert_from__ = IStr
- __convert_to__ = IBool
-
-
-
class RequestConverter(Converter):
""" """
__convert_from__ = IRequest