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

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

created new layout-method layout_enter_access_code.pt
and use this for application create and accommodation create. Actually now
layout_application_create is now no longer neccessary.

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