[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - Adder.py:1.1.2.7.4.2 Contents.py:1.1.2.5.4.2 add.pt:1.1.2.2.14.1 main.pt:1.1.2.3.14.1

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


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

Modified Files:
      Tag: Zope3InWonderland-branch
	Adder.py Contents.py add.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/Container/Views/Browser/Adder.py 1.1.2.7.4.1 => 1.1.2.7.4.2 ===
 
 from Zope.Publisher.Browser.BrowserView import BrowserView
-from Zope.Publisher.Browser.IBrowserPublisher import IBrowserPublisher
 from Zope.App.PageTemplate import ViewPageTemplateFile
 from Zope.ComponentArchitecture import createObject
 from Zope.App.OFS.Services.AddableService import getAddableContent


=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Contents.py 1.1.2.5.4.1 => 1.1.2.5.4.2 ===
 
 from Zope.Publisher.Browser.BrowserView import BrowserView
-from Zope.Publisher.Browser.IBrowserPublisher import IBrowserPublisher
 from Zope.App.PageTemplate import ViewPageTemplateFile
 from Zope.App.OFS.Container.IContainer import IContainer
 


=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/add.pt 1.1.2.2 => 1.1.2.2.14.1 ===
 <div metal:fill-slot="body">
 
-<form action="action.html" method="POST">
+<form action="add.html" method="POST">
 <table class="TypeListing">
 
   <caption>Add Content To Folder</caption>


=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/main.pt 1.1.2.3 => 1.1.2.3.14.1 ===
   <table class="ContentListing">
   
-    <caption>Folder Contents <a href="../adder;view"> Add... </a> </caption>
+    <caption>Folder Contents <a href="../view::adder"> Add... </a> </caption>
   
     <tbody>