[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ZPTPage/Views/XUL - xul.zcml:1.1.2.2

Stephan Richter srichter@cbu.edu
Mon, 4 Mar 2002 00:54:45 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ZPTPage/Views/XUL
In directory cvs.zope.org:/tmp/cvs-serv25134/ZPTPage/Views/XUL

Modified Files:
      Tag: srichter-OFS_Formulator-branch
	xul.zcml 
Log Message:
Here are some of the changes:

- XML-RPC View for Folders; methods are far from being complete, however
  it is the proof of concept; it works.

- Experimental XUL code in folder that shows a tree, a menu and the limit 
  view.

- File can now be viewed like an Image. Since it also sets the right 
  content type, it is even more useful for some of the development.

- ZPTPages are the last content object to be "formulatorized". Now they 
  also entered the new generation code.

ToDo:

- Make tests.

- Update interfaces.

- Get a client side XML-RPC client talk from the browser with Zope to save
  values. 

- Get a tutorial going, so that the ZMI sprinters and developers can make
  use of the technology



=== Zope3/lib/python/Zope/App/OFS/ZPTPage/Views/XUL/xul.zcml 1.1.2.1 => 1.1.2.2 ===
 >
 
-  <!-- File View Directives -->
-
-  <browser:defaultView name="edit"
-    for="Zope.App.OFS.File.IFile.IFile."
-    factory="Zope.App.OFS.File.FileEdit." />
-
-  <security:protectClass name="Zope.App.OFS.File.FileEdit."
-    permission_id="Zope.View" methods="index, action" />
-
-
-  <!-- Registering all the field views for the browser -->
-
-  <browser:view name="DataFieldView"
-    for="Zope.App.OFS.File.IFile."
-    factory="Zope.App.OFS.File.FileFields.DataField. Zope.App.Formulator.Widgets.Browser.TextAreaWidget." />
-
-  <security:protectClass name="DataFieldView"
-    permission_id="Zope.View" methods="render" />
-
-  <browser:view name="ContentTypeFieldView"
-    for="Zope.App.OFS.File.IFile."
-    factory="Zope.App.OFS.File.FileFields.ContentTypeField. Zope.App.Formulator.Widgets.Browser.TextWidget." />
-
-  <security:protectClass name="ContentTypeFieldView"
-    permission_id="Zope.View" methods="render" />
-
 </zopeConfigure>