equal
deleted
inserted
replaced
|
1 <configure |
|
2 xmlns="http://namespaces.zope.org/zope" |
|
3 xmlns:z3c="http://namespaces.zope.org/z3c" |
|
4 i18n_domain="ztfy.i18n"> |
|
5 |
|
6 <!-- Encoding selection widget --> |
|
7 <adapter |
|
8 factory=".encoding.EncodingSelectFieldWidget" /> |
|
9 |
|
10 <class class=".encoding.EncodingSelectWidget"> |
|
11 <require |
|
12 interface=".encoding.IEncodingSelectWidget" |
|
13 permission="zope.Public" /> |
|
14 </class> |
|
15 |
|
16 <!-- Color selection widget --> |
|
17 <adapter |
|
18 factory=".color.ColorFieldWidgetFactory" /> |
|
19 |
|
20 <class class=".color.ColorWidget"> |
|
21 <require |
|
22 interface=".color.IColorWidget" |
|
23 permission="zope.Public" /> |
|
24 </class> |
|
25 |
|
26 <z3c:widgetTemplate |
|
27 mode="input" |
|
28 template="templates/color_input.pt" |
|
29 widget=".color.ColorWidget" |
|
30 layer="z3c.form.interfaces.IFormLayer" /> |
|
31 |
|
32 <z3c:widgetTemplate |
|
33 mode="display" |
|
34 template="templates/color_display.pt" |
|
35 widget=".color.ColorWidget" |
|
36 layer="z3c.form.interfaces.IFormLayer" /> |
|
37 |
|
38 </configure> |