source: WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation.xml @ 686

Last change on this file since 686 was 686, checked in by joachim, 18 years ago

accommodation reservation works again, reverted layout_waeup_edit to old version

File size: 4.4 KB
Line 
1<?xml version="1.0"?>
2<object name="student_accommodation" meta_type="CPS Layout">
3 <property name="layout_create_method">layout_application_create</property>
4 <property name="layout_edit_method">layout_application_edit</property>
5 <property name="layout_view_method"></property>
6 <property name="style_prefix">layout_accommodation_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="acco_maint_date" meta_type="DateTime Widget">
10  <property name="title">Maintainance Fee Date</property>
11  <property name="fields">
12   <element value="acco_maint_date"/>
13  </property>
14  <property name="label">Maintainance Fee Date</property>
15  <property name="label_edit">Maintainance Fee Date</property>
16  <property name="readonly_layout_modes"/>
17  <property name="hidden_layout_modes">
18    <element value="create"/>
19  </property>
20  <property name="hidden_readonly_layout_modes"/>
21  <property name="view_format">iso8601_medium_easy</property>
22  <property name="hidden_empty"></property>
23 </widget>
24 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget">
25  <property name="title">Maintainance Fee Access Code</property>
26  <property name="fields">
27   <element value="acco_maint_sc_pin"/>
28  </property>
29  <property name="label">Maintainance Fee Access Code</property>
30  <property name="label_edit">Maintainance Fee Access Code</property>
31  <property name="hidden_layout_modes">
32    <element value="create"/>
33  </property>
34  <property name="readonly_layout_modes"/>
35  <property name="hidden_readonly_layout_modes"/>
36<property name="hidden_empty"></property>
37  <property name="prefix">HMU</property>
38  </widget>
39<widget name="student_status" meta_type="Select Widget">
40 <property name="title">Status</property>
41 <property name="fields">
42  <element value="student_status"/>
43 </property>
44 <property name="label">Status</property>
45 <property name="label_edit">Status</property>
46 <property name="readonly_layout_modes"/>
47 <property name="hidden_layout_modes"/>
48 <property name="hidden_readonly_layout_modes"/>
49 <property name="vocabulary">student_status_voc</property>
50</widget>
51  <widget name="acco_res_date" meta_type="DateTime Widget">
52  <property name="title">Reservation Date</property>
53  <property name="fields">
54   <element value="acco_res_date"/>
55  </property>
56  <property name="label">Reservation Date</property>
57  <property name="label_edit">Reservation Date</property>
58  <property name="readonly_layout_modes"/>
59  <property name="hidden_layout_modes">
60    <element value="create"/>
61  </property>
62  <property name="hidden_readonly_layout_modes"/>
63  <property name="view_format">iso8601_medium_easy</property>
64 </widget>
65 <widget name="acco_res_sc_pin" meta_type="Scratchcard Pin Widget">
66  <property name="title">Reservation Access Code</property>
67  <property name="fields">
68   <element value="acco_res_sc_pin"/>
69  </property>
70  <property name="label">Reservation Access Code</property>
71  <property name="label_edit">Reservation Access Code</property>
72  <property name="prefix">HOS</property>
73  <property name="readonly_layout_modes"/>
74  <property name="hidden_layout_modes"/>
75  <property name="hidden_readonly_layout_modes"/>
76 </widget>
77<widget name="bed" meta_type="Method Widget">
78 <property name="title">Bed</property>
79 <property name="fields">
80  <element value="bed"/>
81 </property>
82 <property name="label">Bed</property>
83 <property name="label_edit">Bed</property>
84 <property name="readonly_layout_modes"/>
85  <property name="hidden_layout_modes">
86    <element value="create"/>
87  </property>
88 <property name="hidden_readonly_layout_modes"/>
89 <property name="render_method">formatBed</property>
90</widget>
91 <widget name="session" meta_type="String Widget">
92  <property name="title">Session</property>
93  <property name="fields">
94   <element value="session"/>
95  </property>
96  <property name="label">Session</property>
97  <property name="label_edit">Session</property>
98  <property name="readonly_layout_modes">edit</property>
99  <property name="hidden_layout_modes">
100    <element value="create"/>
101  </property>
102  <property name="hidden_readonly_layout_modes"/>
103 </widget>
104 <table>
105  <row>
106   <cell name="session"/>
107  </row>
108  <row>
109   <cell name="bed"/>
110  </row>
111  <row>
112   <cell name="student_status"/>
113  </row>
114  <row>
115   <cell name="acco_res_date"/>
116  </row>
117  <row>
118   <cell name="acco_res_sc_pin"/>
119  </row>
120  <row>
121   <cell name="acco_maint_date"/>
122  </row>
123  <row>
124   <cell name="acco_maint_sc_pin"/>
125  </row>
126 </table>
127</object>
Note: See TracBrowser for help on using the repository browser.