vendor/Five/1.2b-r20590

view browser/tests/defaultview.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"
3 xmlns:five="http://namespaces.zope.org/five">
5 <five:defaultViewable
6 class="Products.Five.tests.testing.simplecontent.SimpleContent" />
8 <browser:defaultView
9 for="Products.Five.tests.testing.simplecontent.ISimpleContent"
10 name="eagledefaultview.txt"
11 />
13 <browser:page
14 for="Products.Five.tests.testing.simplecontent.ISimpleContent"
15 name="eagledefaultview.txt"
16 class=".pages.SimpleView"
17 attribute="eagle"
18 permission="zope2.Public"
19 />
21 <!-- this tests whether five:defaultViewable can be called on a class that
22 already provides __call__, such as our CallableSimpleContent -->
24 <five:defaultViewable
25 class="Products.Five.tests.testing.simplecontent.CallableSimpleContent" />
27 <!-- this tests whether five:defaultViewable can be called on a class that
28 already provides index_html, such as our IndexSimpleContent -->
30 <five:defaultViewable
31 class="Products.Five.tests.testing.simplecontent.IndexSimpleContent" />
33 <browser:defaultView
34 for="Products.Five.tests.testing.simplecontent.IIndexSimpleContent"
35 name="index_html"
36 />
38 </configure>