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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<!-- Copyright 2009-2011 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"
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="launchpad">
<!-- Widgets -->
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.ITitle"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.TitleWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.ISummary"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.SummaryWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.IDescription"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.DescriptionWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.INoneableDescription"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.NoneableDescriptionWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.IWhiteboard"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.WhiteboardWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.IStrippedTextLine"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.StrippedTextWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.INoneableTextLine"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.NoneableTextWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.IURIField"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.URIWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.ContentNameField"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.textwidgets.LowerCaseTextWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="lp.services.fields.FormattableDate"
provides="zope.app.form.interfaces.IInputWidget"
factory="lp.app.widgets.date.DateWidget"
permission="zope.Public"
/>
</configure>
|