source: WAeUP_SRP/trunk/profiles/default/layouts/content_portlet.xml @ 5593

Last change on this file since 5593 was 3689, checked in by Henrik Bettermann, 16 years ago

New BASE and EXTENSION profiles

File size: 8.9 KB
Line 
1<?xml version="1.0"?>
2<object name="content_portlet" meta_type="CPS Layout">
3 <property name="layout_create_method"></property>
4 <property name="layout_edit_method"></property>
5 <property name="layout_view_method"></property>
6 <property name="style_prefix">layout_portlet_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="cluster_id" meta_type="String Widget">
10  <property name="fields">
11   <element value="cluster_id"/>
12  </property>
13  <property name="label_edit">cpsportlets_content_cluster_id_label</property>
14  <property name="is_i18n">True</property>
15  <property name="hidden_layout_modes">
16   <element value="view"/>
17  </property>
18  <property name="hidden_if_expr">not:context/render_items</property>
19 </widget>
20 <widget name="contextual" meta_type="Boolean Widget">
21  <property name="fields">
22   <element value="contextual"/>
23  </property>
24  <property name="label_edit">cpsportlets_content_contextual_label</property>
25  <property name="is_i18n">True</property>
26  <property name="readonly_layout_modes"/>
27  <property name="hidden_layout_modes">
28   <element value="view"/>
29  </property>
30  <property name="hidden_readonly_layout_modes"/>
31 </widget>
32 <widget name="display_description" meta_type="Boolean Widget">
33  <property name="fields">
34   <element value="display_description"/>
35  </property>
36  <property
37     name="label_edit">cpsportlets_common_display_description_label</property>
38  <property name="is_i18n">True</property>
39  <property name="hidden_layout_modes">
40   <element value="view"/>
41  </property>
42  <property
43     name="hidden_if_expr">python: context.render_items or context.render_method</property>
44 </widget>
45 <widget name="folder_path" meta_type="String Widget">
46  <property name="fields">
47   <element value="folder_path"/>
48  </property>
49  <property name="label_edit">cpsportlets_content_folder_path_label</property>
50  <property name="is_i18n">True</property>
51  <property name="hidden_layout_modes">
52   <element value="view"/>
53  </property>
54  <property name="hidden_if_expr">context/contextual</property>
55  <property name="display_width">36</property>
56 </widget>
57 <widget name="link_string" meta_type="String Widget">
58  <property name="fields">
59   <element value="link_string"/>
60  </property>
61  <property name="label_edit">cpsportlets_common_link_string_label</property>
62  <property name="is_i18n">True</property>
63  <property name="hidden_layout_modes">
64   <element value="view"/>
65  </property>
66  <property name="hidden_if_expr">context/render_method</property>
67  <property name="display_width">36</property>
68 </widget>
69 <widget name="max_items" meta_type="Int Widget">
70  <property name="fields">
71   <element value="max_items"/>
72  </property>
73  <property name="label_edit">cpsportlets_common_max_items_label</property>
74  <property name="is_i18n">True</property>
75  <property name="hidden_layout_modes">
76   <element value="view"/>
77  </property>
78  <property name="is_limited">True</property>
79  <property name="min_value">1</property>
80  <property name="max_value">20</property>
81 </widget>
82 <widget name="max_words" meta_type="Int Widget">
83  <property name="fields">
84   <element value="max_words"/>
85  </property>
86  <property name="label_edit">cpsportlets_content_max_words_label</property>
87  <property name="is_i18n">True</property>
88  <property name="hidden_layout_modes">
89   <element value="view"/>
90  </property>
91  <property
92     name="hidden_if_expr">python: context.render_items or context.render_method</property>
93 </widget>
94 <widget name="portlet" meta_type="Generic Portlet Widget">
95  <property name="fields">
96   <element value="portlet"/>
97  </property>
98  <property name="hidden_layout_modes">
99   <element value="edit"/>
100  </property>
101  <property name="render_method">widget_portlet_content</property>
102 </widget>
103 <widget name="query_title" meta_type="String Widget">
104  <property name="fields">
105   <element value="query_title"/>
106  </property>
107  <property name="label_edit">cpsportlets_content_query_title_label</property>
108  <property name="is_i18n">True</property>
109  <property name="hidden_layout_modes">
110   <element value="view"/>
111  </property>
112  <property name="display_width">36</property>
113 </widget>
114 <widget name="render_items" meta_type="Boolean Widget">
115  <property name="fields">
116   <element value="render_items"/>
117  </property>
118  <property
119     name="label_edit">cpsportlets_content_render_items_label</property>
120  <property name="is_i18n">True</property>
121  <property name="hidden_layout_modes">
122   <element value="view"/>
123  </property>
124 </widget>
125 <widget name="render_method" meta_type="String Widget">
126  <property name="fields">
127   <element value="render_method"/>
128  </property>
129  <property
130     name="label_edit">cpsportlets_common_render_method_label</property>
131  <property name="is_i18n">True</property>
132  <property name="hidden_layout_modes">
133   <element value="view"/>
134  </property>
135  <property name="hidden_if_expr">context/render_items</property>
136  <property name="display_width">30</property>
137 </widget>
138 <widget name="search_type" meta_type="Select Widget">
139  <property name="fields">
140   <element value="search_type"/>
141  </property>
142  <property name="label_edit">cpsportlets_content_search_type_label</property>
143  <property name="is_i18n">True</property>
144  <property name="hidden_layout_modes">
145   <element value="view"/>
146  </property>
147  <property name="vocabulary">cpsportlets_content_search_voc</property>
148  <property name="translated">True</property>
149 </widget>
150 <widget name="searchable_types" meta_type="MultiSelect Widget">
151  <property name="fields">
152   <element value="searchable_types"/>
153  </property>
154  <property
155     name="label_edit">cpsportlets_content_searchable_types_label</property>
156  <property name="is_i18n">True</property>
157  <property name="hidden_layout_modes">
158   <element value="view"/>
159  </property>
160  <property name="vocabulary">search_portal_type</property>
161  <property name="translated">False</property>
162  <property name="size">7</property>
163 </widget>
164 <widget name="short_syndication_formats" meta_type="CheckBox Widget">
165  <property name="fields">
166   <element value="short_syndication_formats"/>
167  </property>
168  <property
169     name="label_edit">cpsportlets_common_short_syndication_formats_label</property>
170  <property name="is_i18n">True</property>
171  <property name="hidden_layout_modes">
172   <element value="view"/>
173  </property>
174 </widget>
175 <widget name="show_icons" meta_type="Boolean Widget">
176  <property name="fields">
177   <element value="show_icons"/>
178  </property>
179  <property name="label_edit">cpsportlets_content_show_icons_label</property>
180  <property name="is_i18n">True</property>
181  <property name="readonly_layout_modes"/>
182  <property name="hidden_layout_modes">
183   <element value="view"/>
184  </property>
185  <property name="hidden_readonly_layout_modes"/>
186 </widget>
187 <widget name="sort_on" meta_type="Select Widget">
188  <property name="fields">
189   <element value="sort_on"/>
190  </property>
191  <property name="label_edit">cpsportlets_content_sort_on_label</property>
192  <property name="is_i18n">True</property>
193  <property name="hidden_layout_modes">
194   <element value="view"/>
195  </property>
196  <property
197     name="hidden_if_expr">python: context.search_type in ['last_modified', 'upcoming', 'last_published']</property>
198  <property name="vocabulary">cpsportlets_content_sort_on_voc</property>
199  <property name="translated">True</property>
200 </widget>
201 <widget name="sort_reverse" meta_type="Boolean Widget">
202  <property name="fields">
203   <element value="sort_reverse"/>
204  </property>
205  <property
206     name="label_edit">cpsportlets_content_sort_reverse_label</property>
207  <property name="is_i18n">True</property>
208  <property name="hidden_layout_modes">
209   <element value="view"/>
210  </property>
211 </widget>
212 <widget name="syndication_formats" meta_type="MultiSelect Widget">
213  <property name="fields">
214   <element value="syndication_formats"/>
215  </property>
216  <property
217     name="label_edit">cpsportlets_common_syndication_formats_label</property>
218  <property name="is_i18n">True</property>
219  <property name="hidden_layout_modes">
220   <element value="view"/>
221  </property>
222  <property name="vocabulary">cpsportlets_syndication_formats_voc</property>
223  <property name="translated">True</property>
224 </widget>
225 <table>
226  <row>
227   <cell name="portlet" ncols="3"/>
228  </row>
229  <row>
230   <cell name="render_items"/>
231   <cell name="cluster_id"/>
232   <cell name="render_method"/>
233  </row>
234  <row>
235   <cell name="max_items" ncols="3"/>
236  </row>
237  <row>
238   <cell name="search_type"/>
239   <cell name="sort_on"/>
240   <cell name="sort_reverse"/>
241  </row>
242  <row>
243   <cell name="query_title" ncols="3"/>
244  </row>
245  <row>
246   <cell name="folder_path"/>
247   <cell name="contextual" ncols="2"/>
248  </row>
249  <row>
250   <cell name="searchable_types" ncols="3"/>
251  </row>
252  <row>
253   <cell name="show_icons" ncols="3"/>
254  </row>
255  <row>
256   <cell name="display_description" ncols="2"/>
257   <cell name="max_words"/>
258  </row>
259  <row>
260   <cell name="link_string" ncols="3"/>
261  </row>
262  <row>
263   <cell name="syndication_formats"/>
264   <cell name="short_syndication_formats" ncols="2"/>
265  </row>
266 </table>
267</object>
Note: See TracBrowser for help on using the repository browser.