[Zope3-checkins] CVS: Zope3/src/zope/app/dtmlpage -
configure.zcml:1.1.2.2
Philipp von Weitershausen
philikon at philikon.de
Mon Feb 23 05:56:02 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/dtmlpage
In directory cvs.zope.org:/tmp/cvs-serv18423
Modified Files:
Tag: philikon-movecontent-branch
configure.zcml
Log Message:
* Extend comment that modulealias is just a temporary solution.
* Use preview template from zope.app.preview
* Fix description.
=== Zope3/src/zope/app/dtmlpage/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/dtmlpage/configure.zcml:1.1.2.1 Fri Feb 20 14:36:23 2004
+++ Zope3/src/zope/app/dtmlpage/configure.zcml Mon Feb 23 05:56:01 2004
@@ -5,7 +5,8 @@
i18n_domain='zope'
>
- <!-- Module alias for backward compat -->
+ <!-- Module alias for backward compat
+ Will go away once we have a conversion script -->
<modulealias
module=".dtmlpage"
@@ -29,7 +30,7 @@
id="DTMLPage"
permission="zope.ManageContent"
title="DTML Page"
- description="A simple, content-based Page Template"
+ description="A simple, content-based DTML Page"
/>
<require
@@ -85,14 +86,6 @@
permission="zope.ManageContent"
/>
- <!--browser:page
- for=".interfaces.IDTMLPage"
- name="preview.html"
- menu="zmi_views" title="Preview"
- template="preview.pt"
- permission="zope.ManageContent"
- /-->
-
<browser:icon
name="zmi_icon"
for=".interfaces.IDTMLPage"
@@ -110,8 +103,22 @@
<browser:addMenuItem
class=".dtmlpage.DTMLPage"
title="DTML Page"
+ description="A simple, content-based DTML page"
view="zope.app.dtmlpage.DTMLPage"
permission="zope.ManageContent"
/>
+
+
+ <!-- Preview view - requires zope.app.preview -->
+
+ <configure package="zope.app.preview">
+ <browser:page
+ for="zope.app.dtmlpage.interfaces.IDTMLPage"
+ name="preview.html"
+ template="preview.pt"
+ permission="zope.ManageContent"
+ menu="zmi_views" title="Preview"
+ />
+ </configure>
</configure>
More information about the Zope3-Checkins
mailing list