[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services -
zpt.zcml:1.4
Raju Sivalingam
sraju at zeomega.com
Thu Dec 18 01:10:14 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv26733/src/zope/app/browser/services
Modified Files:
zpt.zcml
Log Message:
-- ZPT Registration
=== Zope3/src/zope/app/browser/services/zpt.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/zpt.zcml:1.3 Mon Dec 15 09:37:38 2003
+++ Zope3/src/zope/app/browser/services/zpt.zcml Thu Dec 18 01:09:42 2003
@@ -22,4 +22,21 @@
class="zope.app.services.zpt.ZPTTemplate"
title="ZPT Template" />
+ <addform
+ for="zope.app.services.zpt.IZPTTemplate"
+ schema="zope.app.services.presentation.IPageRegistration"
+ name="addRegistration.html"
+ class="
+ zope.app.browser.services.registration.AddComponentRegistration"
+ content_factory="zope.app.services.presentation.PageRegistration"
+ keyword_arguments="required factoryName name permission
+ layer attribute"
+ set_before_add="template"
+ label="Register a view ZPT"
+ permission="zope.ManageServices"
+ fields="required name
+ template factoryName layer permission status attribute"
+
+ />
+
</zope:configure>
More information about the Zope3-Checkins
mailing list