[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL - action.pt:1.1.4.1.6.1 limit.pt:1.1.4.1.6.1 main.pt:1.1.4.1.6.1

Jim Fulton jim@zope.com
Sun, 2 Jun 2002 10:35:18 -0400


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

Modified Files:
      Tag: Zope3InWonderland-branch
	action.pt limit.pt main.pt 
Log Message:
- Added template attribute to allow views to be created from a
  template source file.

- Added beginnings of a Zope debugger. This required seperating site
  and server configuration.

- Added the ability to specify a config file package in the
  zopeConfigure directive. Made "config.zcml" a default for the file
  attribute in the include directive.

- Fixed mapply to unwrap proxied objects. This was necessary once
  views became wrapped in proxies. We need to investigate why they
  weren't being wrapped before. 

- I updated enough system page templates and zcml directives so that:

  - Zope now starts. :)

  - The root folder contents listing can be viewed.

  Many more templates and zcml files need to be updated to reflect the
  way views are now handled.



=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL/action.pt 1.1.4.1 => 1.1.4.1.6.1 ===
 function action(limit) {
   var s = new SOAPCall();
-  s.transportURI = "http://physics.cbu.edu:8082/loaded/methods;view/";
+  s.transportURI = "http://physics.cbu.edu:8082/loaded/view::methods/";
   s.verifySourceHeader = true;
   if (!s.verifySourceHeader)
     netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
 
   var p1 = new SOAPParameter(parseInt(limit), "limit");
-  s.encode(0, "setLimit", "http://physics.cbu.edu:8082/loaded/methods;view/", 0, null, 1, new Array(p1));
+  s.encode(0, "setLimit", "http://physics.cbu.edu:8082/loaded/view::methods/", 0, null, 1, new Array(p1));
   s.invoke();
 
-  s.encode(0, "getLimit", "http://physics.cbu.edu:8082/loaded/methods;view/", 0, null, 0, new Array());
+  s.encode(0, "getLimit", "http://physics.cbu.edu:8082/loaded/view::methods/", 0, null, 0, new Array());
   var r = s.invoke();
   oncompletion(r, s, 0);
  


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL/limit.pt 1.1.4.1 => 1.1.4.1.6.1 ===
                         title view/title">
 
-  <script src="http://physics.cbu.edu:8080/loaded/limit_xul;view/action_js" />
+  <script src="http://physics.cbu.edu:8080/loaded/view::limit_xul/action_js" />
 
   <description tal:content="view/description">
     Form Description


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL/main.pt 1.1.4.1 => 1.1.4.1.6.1 ===
 
   <hbox height="600">
-    <iframe id="tabs" src="main_xul;view/menu"/>
+    <iframe id="tabs" src="view::main_xul/menu"/>
     <splitter collapse="before" resizeafter="farthest">
       <spacer flex="1"/>
       <grippy/>
       <spacer flex="1"/>
     </splitter>
-    <iframe flex="1" id="content" src="limit_xul;view"/>
+    <iframe flex="1" id="content" src="view::limit_xul"/>
   </hbox>