[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser - configure.zcml:1.7

Jim Fulton jim@zope.com
Mon, 28 Oct 2002 18:48:47 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv12525

Modified Files:
	configure.zcml 
Log Message:
Made the IBrowserWidget interface accessable for widgets. 

Changed the permission to Zope.Public, since we always want to be able
to access widgets.


=== Zope3/lib/python/Zope/App/Forms/Views/Browser/configure.zcml 1.6 => 1.7 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/configure.zcml:1.6	Sat Sep  7 12:18:48 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/configure.zcml	Mon Oct 28 18:48:46 2002
@@ -6,43 +6,50 @@
 
   <!-- Form Widget View Directives -->
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.IText"
       name="widget"
       factory=".Widget.TextWidget." />
 
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.IBytes"
       name="widget"
       factory=".Widget.BytesWidget." />
 
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.IInt"
       name="widget"
       factory=".Widget.IntWidget." />
 
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.IFloat"
       name="widget"
       factory=".Widget.FloatWidget." />
 
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.IBool"
       name="widget"
       factory=".Widget.CheckBoxWidget." />
 
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.ITuple"
       name="widget"
       factory=".Widget.TextAreaWidget." />
 
   <browser:view
-      permission="Zope.View"
+      permission="Zope.Public"
+      allowed_interface=".IBrowserWidget."
       for="Zope.Schema.IField.IList"
       name="widget"
       factory=".Widget.TextAreaWidget." />