-
Notifications
You must be signed in to change notification settings - Fork 28
/
EasyForm.xml
82 lines (77 loc) · 2.26 KB
/
EasyForm.xml
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
<?xml version="1.0"?>
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
meta_type="Dexterity FTI"
name="EasyForm"
i18n:domain="collective.easyform"
>
<property name="title"
i18n:translate=""
>EasyForm</property>
<property name="description"
i18n:translate=""
>A web-form builder</property>
<property name="icon_expr">string:ui-checks</property>
<property name="global_allow">True</property>
<property name="filter_content_types">False</property>
<property name="allowed_content_types" />
<property name="allow_discussion">False</property>
<property name="schema">collective.easyform.interfaces.IEasyForm</property>
<property name="model_source" />
<property name="model_file" />
<property name="klass">collective.easyform.content.EasyForm</property>
<property name="add_permission">collective.easyform.AddContent</property>
<property name="behaviors">
<element value="plone.namefromtitle" />
<element value="plone.allowdiscussion" />
<element value="plone.excludefromnavigation" />
<element value="plone.dublincore" />
</property>
<!-- View information -->
<property name="default_view">view</property>
<property name="default_view_fallback">False</property>
<property name="view_methods">
<element value="view" />
</property>
<!-- Method aliases -->
<alias from="(Default)"
to="(selected layout)"
/>
<alias from="edit"
to="@@edit"
/>
<alias from="sharing"
to="@@sharing"
/>
<alias from="fields"
to="@@fields"
/>
<alias from="actions"
to="@@actions"
/>
<alias from="view"
to="@@view"
/>
<!-- Actions -->
<action action_id="view"
category="object"
condition_expr=""
title="View"
url_expr="string:${object_url}"
visible="True"
i18n:attributes="title"
i18n:domain="plone"
>
<permission value="View" />
</action>
<action action_id="edit"
category="object"
condition_expr=""
title="Edit"
url_expr="string:${object_url}/edit"
visible="True"
i18n:attributes="title"
i18n:domain="plone"
>
<permission value="Modify portal content" />
</action>
</object>