2 <object name=
"Discussion Item" meta_type=
"Factory-based Type Information"
3 xmlns:
i18n=
"http://xml.zope.org/namespaces/i18n">
4 <property name=
"title">Discussion Item
</property>
6 name=
"description">Discussion Items are documents which reply to other content.
7 They should *not* be addable through the standard 'folder_factories' interface.
</property>
9 name=
"icon_expr">string:${portal_url}/discussionitem_icon.gif
</property>
10 <property name=
"content_meta_type">Discussion Item
</property>
11 <property name=
"product"></property>
12 <property name=
"factory"></property>
13 <property name=
"add_view_expr"></property>
14 <property name=
"link_target"></property>
15 <property name=
"immediate_view"></property>
16 <property name=
"global_allow">True
</property>
17 <property name=
"filter_content_types">True
</property>
18 <property name=
"allowed_content_types"/>
19 <property name=
"allow_discussion">False
</property>
20 <alias from=
"(Default)" to=
"discussionitem_view"/>
21 <alias from=
"view" to=
"discussionitem_view"/>
22 <action title=
"View" action_id=
"view" category=
"object" condition_expr=
""
23 icon_expr=
"" link_target=
""
24 url_expr=
"string:${object_url}/discussionitem_view" visible=
"False">
25 <permission value=
"View"/>
27 <action title=
"Reply..." action_id=
"reply" category=
"discussion"
28 condition_expr=
"" icon_expr=
"" link_target=
""
29 url_expr=
"string:${object_url}/discussion_reply_form" visible=
"True">
30 <permission value=
"Reply to item"/>
32 <action title=
"Delete" action_id=
"del" category=
"discussion"
33 condition_expr=
"" icon_expr=
"" link_target=
""
34 url_expr=
"string:${object_url}/discussionItemDelete" visible=
"True">
35 <permission value=
"Manage portal"/>