vendor/Five/1.2b-r20590

view browser/configure.zcml @ 0:3673ed425f80

Vendor import of Five 1.2b+ (r20590)
author fguillaume
date Fri, 02 Dec 2005 20:25:42 +0000
parents
children
line source
1 <configure xmlns="http://namespaces.zope.org/zope"
2 xmlns:browser="http://namespaces.zope.org/browser">
4 <serviceType
5 id="BrowserMenu"
6 interface="zope.app.publisher.interfaces.browser.IBrowserMenuService"
7 />
9 <service
10 serviceType="BrowserMenu"
11 permission="zope.Public"
12 component="zope.app.publisher.browser.globalbrowsermenuservice.globalBrowserMenuService"
13 />
15 <browser:defaultView name="index.html" />
17 <browser:page
18 for="*"
19 name="absolute_url"
20 class=".absoluteurl.AbsoluteURL"
21 permission="zope.Public"
22 allowed_interface="zope.app.traversing.browser.interfaces.IAbsoluteURL"
23 />
25 <view
26 for="*"
27 factory=".absoluteurl.AbsoluteURL"
28 type="zope.publisher.interfaces.http.IHTTPRequest"
29 permission="zope.Public"
30 provides="zope.app.traversing.browser.interfaces.IAbsoluteURL"
31 />
33 <browser:page
34 for="zope.app.traversing.interfaces.IContainmentRoot"
35 name="absolute_url"
36 class=".absoluteurl.SiteAbsoluteURL"
37 permission="zope.Public"
38 allowed_interface="zope.app.traversing.browser.interfaces.IAbsoluteURL"
39 />
41 <view
42 for="zope.app.traversing.interfaces.IContainmentRoot"
43 factory=".absoluteurl.SiteAbsoluteURL"
44 type="zope.publisher.interfaces.http.IHTTPRequest"
45 permission="zope.Public"
46 provides="zope.app.traversing.browser.interfaces.IAbsoluteURL"
47 />
49 <browser:view
50 for="OFS.interfaces.IObjectManager"
51 name="+"
52 class=".adding.ContentAdding"
53 permission="zope2.ViewManagementScreens"
54 >
56 <browser:page name="index.html" template="adding.pt" />
57 <browser:page name="action.html" attribute="action" />
59 </browser:view>
61 <adapter
62 for="OFS.interfaces.IObjectManager"
63 factory=".adding.ObjectManagerNameChooser"
64 provides="zope.app.container.interfaces.INameChooser"
65 />
67 <!-- Menu access -->
68 <browser:page
69 for="*"
70 name="view_get_menu"
71 permission="zope.Public"
72 class=".menu.MenuAccessView"
73 allowed_interface="zope.app.publisher.interfaces.browser.IMenuAccessView"
74 />
76 </configure>