[Zope3-checkins] CVS: Zope3/src/zope/app/browser - usages.zcml:1.2 configure.zcml:1.25

Godefroid Chapelle cvs-admin at zope.org
Sun Dec 7 05:05:17 EST 2003


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

Modified Files:
	configure.zcml 
Added Files:
	usages.zcml 
Log Message:
merge gotcha-usage-branch

this finishes support for usage :

top-level variable in page templates
initialized from ZCML

main goal is to use a unique template per skin

now, I should walk all templates that relies on dialog_macros.pt
and convert them to template.pt 




=== Zope3/src/zope/app/browser/usages.zcml 1.1 => 1.2 ===
--- /dev/null	Sun Dec  7 05:05:17 2003
+++ Zope3/src/zope/app/browser/usages.zcml	Sun Dec  7 05:04:46 2003
@@ -0,0 +1,9 @@
+<zope:configure
+   xmlns:zope="http://namespaces.zope.org/zope"
+   xmlns="http://namespaces.zope.org/browser">
+
+  <usage name="objectview" />
+  <usage name="activitydialog" />
+  <usage name="addingdialog" />
+
+</zope:configure>


=== Zope3/src/zope/app/browser/configure.zcml 1.24 => 1.25 ===
--- Zope3/src/zope/app/browser/configure.zcml:1.24	Wed Sep  3 14:33:55 2003
+++ Zope3/src/zope/app/browser/configure.zcml	Sun Dec  7 05:04:46 2003
@@ -4,6 +4,7 @@
 
   <browser:defaultView name="index.html" />
 
+  <include file="usages.zcml" />
   <include file="menus.zcml" />
   <include package=".applicationcontrol" />
   <include package=".cache" />




More information about the Zope3-Checkins mailing list