[Zope3-checkins] CVS: Zope3/src/zope/schema - interfaces.py:1.28.2.2
Sidnei da Silva
sidnei at x3ng.com.br
Wed Aug 13 13:23:04 EDT 2003
Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv24916/src/zope/schema
Modified Files:
Tag: dreamcatcher-ttwschema-branch
interfaces.py
Log Message:
Add missing_value to field schema, some css fixes, fixed a typo on a html
=== Zope3/src/zope/schema/interfaces.py 1.28.2.1 => 1.28.2.2 ===
--- Zope3/src/zope/schema/interfaces.py:1.28.2.1 Tue Aug 12 13:39:03 2003
+++ Zope3/src/zope/schema/interfaces.py Wed Aug 13 12:22:59 2003
@@ -125,6 +125,12 @@
field value""")
)
+ missing_value = Field(
+ title=_(u"Missing Value"),
+ description=_(u"""If input for this Field is missing, and that's ok,
+ then this is the value to use""")
+ )
+
def constraint(value):
u"""Check a customized contraint on the value.
More information about the Zope3-Checkins
mailing list