~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- Copyright 2009 Canonical Ltd.  This software is licensed under the
     GNU Affero General Public License version 3 (see the file LICENSE).
-->

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser">

    <!--
        XXX: anonymous 2004-08-14: Feed back into Zope3.
        The Zope3 WidgetInputError does not handle lists of validation
        exceptions, despite what its documentation says. Fix this in launchpad
        for now.
        -->
    <view
        type="zope.publisher.interfaces.browser.IBrowserRequest"
        for=".exception.WidgetInputError"
        provides="zope.app.form.browser.interfaces.IWidgetInputErrorView"
        factory=".exception.WidgetInputErrorView"
        permission="zope.Public"
        />

    <browser:page
        for="*"
        name="form-picker-macros"
        permission="zope.Public"
        template="templates/form-picker-macros.pt"
        class="lp.app.browser.launchpad.Macro"/>

</configure>