source: WAeUP_SRP/trunk/profiles/default/layouts/search_portlet.xml @ 3726

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

New BASE and EXTENSION profiles

File size: 2.5 KB
Line 
1<?xml version="1.0"?>
2<object name="search_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="advanced_search_link" meta_type="CheckBox Widget">
10  <property name="fields">
11   <element value="advanced_search_link"/>
12  </property>
13  <property
14     name="label_edit">cpsportlets_advanced_search_link_label</property>
15  <property name="is_i18n">True</property>
16  <property name="readonly_layout_modes"/>
17  <property name="hidden_layout_modes">
18   <element value="view"/>
19  </property>
20  <property name="hidden_readonly_layout_modes"/>
21 </widget>
22 <widget name="context_is_portlet" meta_type="CheckBox Widget">
23  <property name="fields">
24   <element value="context_is_portlet"/>
25  </property>
26  <property
27     name="label_edit">cpsportlets_search_context_is_portlet_label</property>
28  <property name="is_i18n">True</property>
29  <property name="readonly_layout_modes"/>
30  <property name="hidden_layout_modes">
31   <element value="view"/>
32  </property>
33  <property name="hidden_readonly_layout_modes"/>
34  <property
35     name="hidden_if_expr">not:context/contextual_search_choice</property>
36 </widget>
37 <widget name="contextual_search_choice" meta_type="CheckBox Widget">
38  <property name="fields">
39   <element value="contextual_search_choice"/>
40  </property>
41  <property
42     name="label_edit">cpsportlets_contextual_search_choice_label</property>
43  <property name="is_i18n">True</property>
44  <property name="readonly_layout_modes"/>
45  <property name="hidden_layout_modes">
46   <element value="view"/>
47  </property>
48  <property name="hidden_readonly_layout_modes"/>
49  <property
50     name="hidden_if_expr">python: not context.getSearchFormParams()['contextual']</property>
51 </widget>
52 <widget name="search" meta_type="Generic Portlet Widget">
53  <property name="fields">
54   <element value="dummy"/>
55  </property>
56  <property name="readonly_layout_modes"/>
57  <property name="hidden_layout_modes">
58   <element value="edit"/>
59  </property>
60  <property name="hidden_readonly_layout_modes"/>
61  <property name="render_method">widget_portlet_search</property>
62 </widget>
63 <table>
64  <row>
65   <cell name="search"/>
66  </row>
67  <row>
68   <cell name="contextual_search_choice"/>
69  </row>
70  <row>
71   <cell name="context_is_portlet"/>
72  </row>
73  <row>
74   <cell name="advanced_search_link"/>
75  </row>
76 </table>
77</object>
Note: See TracBrowser for help on using the repository browser.