[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.65

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Aug 7 16:49:58 EDT 2003


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

Modified Files:
	configure.zcml 
Log Message:
Could someone look at this? philiKON?

If I define the menu entry via the page, it is not registered as one and the
tab does not show up. Using the menu directive everything works just fine.
This is really weird.


=== Zope3/src/zope/app/browser/services/configure.zcml 1.64 => 1.65 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.64	Thu Aug  7 13:41:03 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml	Thu Aug  7 15:49:53 2003
@@ -16,16 +16,24 @@
 <!--Error Logging Service -->
 
   <pages
-    for="zope.app.interfaces.services.error.IErrorReportingService"
-    permission="zope.Public"
-    class="zope.app.browser.services.error.EditErrorLog">
+      for="zope.app.interfaces.services.error.IErrorReportingService"
+      permission="zope.Public"
+      class=".error.EditErrorLog">
 
-    <page name="index.html" template="error.pt"
-          menu="zmi_views" title="Errors" />
+    <page name="index.html" template="error.pt" />
+          <!-- menu="zmi_views" title="Errors" /-->
     <page name="edit.html" attribute="updateProperties" />
     <page name="showEntry.html" template="errorentry.pt"/>
     <page name="showTextTBEntry.html" template="texttbentry.pt"/>
   </pages>
+
+  <!-- XXX: There seems to be a bug with menues. If I specify the menu entry
+       via the page directive, it will not show the TAB!!! -->
+  <menuItem
+      menu="zmi_views"
+      for="zope.app.interfaces.services.error.IErrorReportingService"
+      action="@@index.html"
+      title="Errors" />
 
   <menuItem
      menu="add_service"




More information about the Zope3-Checkins mailing list