[Zope3-checkins] CVS: Zope3/src/zope/app/utility/browser - configure.zcml:1.4

Garrett Smith garrett at mojave-corp.com
Tue May 11 07:22:17 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/utility/browser
In directory cvs.zope.org:/tmp/cvs-serv22221/src/zope/app/utility/browser

Modified Files:
	configure.zcml 
Log Message:
Update to widget used for utility registration 'name' field to treat empty
strings as empty strings instead of field.missing_value.


=== Zope3/src/zope/app/utility/browser/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/utility/browser/configure.zcml:1.3	Tue Mar 23 17:08:00 2004
+++ Zope3/src/zope/app/utility/browser/configure.zcml	Tue May 11 07:22:16 2004
@@ -68,7 +68,15 @@
       permission="zope.ManageServices"
       content_factory="zope.app.utility.UtilityRegistration"
       arguments="name interface componentPath"
-      fields="name interface componentPath permission" />
+      fields="name interface componentPath permission">
+      
+      <widget 
+          field="name" 
+          class="zope.app.form.browser.TextWidget"
+          required="False"
+          convert_missing_value="False" />
+      
+  </addform>
 
   <!-- When editing the registration of an existing utility object,
        you are taken to this form.  It is similar to the above add




More information about the Zope3-Checkins mailing list