[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content - sql.py:1.9

Mohan Chandra mchandra at zeomega.com
Tue Dec 16 10:42:03 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv31106/src/zope/app/interfaces/content

Modified Files:
	sql.py 
Log Message:
Included self.contentName in adding.py
Included addform and addMenuItem directives to browser/content/configure.zcml
Provided a customized add view for SQLScript
Defined a new slot extra_buttons in add.pt
Changed view/renderAddButton to context/renderAddButton





=== Zope3/src/zope/app/interfaces/content/sql.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/interfaces/content/sql.py:1.8	Sun Sep 21 13:31:56 2003
+++ Zope3/src/zope/app/interfaces/content/sql.py	Tue Dec 16 10:42:02 2003
@@ -50,15 +50,20 @@
         title=_(u"Arguments"),
         description=_(u"A set of attributes that can be used during the SQL command "
                       u"rendering process to provide dynamic data."),
-        required=False)
+        required=False,
+        default='',
+        missing_value='')
 
     source = zope.schema.Bytes(
         title=_(u"Source"),
         description=_(u"The SQL command to be run."),
-        required=True)
+        required=False,
+        default='',
+        missing_value='')
 
     def getArguments():
         """Returns a set of arguments. Note that this is not a string!"""
 
     def getTemplate():
         """Get the SQL DTML Template object."""
+   




More information about the Zope3-Checkins mailing list