source: WAeUP_SRP/trunk/profiles/uniben/layouts/student_accommodation_fe.xml @ 4011

Last change on this file since 4011 was 3692, checked in by Henrik Bettermann, 16 years ago
  • Fix external_edit_form
  • Implement custom profile for Uniben and trim default profile
File size: 5.0 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="student_accommodation_fe" meta_type="CPS Layout">
4 <property name="layout_create_method"></property>
5 <property name="layout_edit_method"></property>
6 <property name="layout_view_method"></property>
7 <property name="style_prefix">layout_student_acco_</property>
8 <property name="flexible_widgets"/>
9 <property name="validate_values_expr"></property>
10 <widget name="acco_maint_date" meta_type="DateTime Widget">
11  <property name="title">Maintenance Payment Date</property>
12  <property name="fields">
13   <element value="acco_maint_date"/>
14  </property>
15  <property name="label">Maintenance Payment Date</property>
16  <property name="label_edit">Maintenance Payment Date</property>
17  <property name="readonly_layout_modes"/>
18  <property name="hidden_layout_modes">
19   <element value="create"/>
20   <element value="edit"/>
21  </property>
22  <property name="hidden_readonly_layout_modes"/>
23  <property name="view_format">%d/%m/%Y</property>
24  <property name="time_setting">False</property>
25 </widget>
26 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget">
27  <property name="title">Access Code</property>
28  <property name="fields">
29   <element value="acco_maint_sc_pin"/>
30  </property>
31  <property name="label">Access Code</property>
32  <property name="label_edit">Access Code</property>
33  <property name="readonly_layout_modes"/>
34  <property name="hidden_layout_modes">
35   <element value="create"/>
36  </property>
37  <property name="hidden_readonly_layout_modes"/>
38  <property name="prefix">@getMaintenancePrefix</property>
39 </widget>
40 <widget name="acco_maint_fee" meta_type="String Widget">
41  <property name="title">Maintenance Fee</property>
42  <property name="fields">
43   <element value="acco_maint_fee"/>
44  </property>
45  <property name="label">Maintenance Fee</property>
46  <property name="label_edit">Maintenance Fee</property>
47  <property name="readonly_layout_modes">
48   <element value="edit"/>
49  </property>
50  <property name="hidden_layout_modes">
51   <element value="create"/>
52  </property>
53  <property name="hidden_readonly_layout_modes"/>
54 </widget>
55 <widget name="acco_res_date" meta_type="DateTime Widget">
56  <property name="title">Hostel Application Date</property>
57  <property name="fields">
58   <element value="acco_res_date"/>
59  </property>
60  <property name="label">Hostel Application Date</property>
61  <property name="label_edit">Hostel Application Date</property>
62  <property name="readonly_layout_modes">
63   <element value="edit"/>
64  </property>
65  <property name="hidden_layout_modes">
66   <element value="create"/>
67  </property>
68  <property name="hidden_readonly_layout_modes"/>
69  <property name="view_format">%d/%m/%Y</property>
70  <property name="time_setting">False</property>
71 </widget>
72 <widget name="acco_res_sc_pin" meta_type="Scratchcard Pin Widget">
73  <property name="title">Access Code</property>
74  <property name="fields">
75   <element value="acco_res_sc_pin"/>
76  </property>
77  <property name="label">Access Code</property>
78  <property name="label_edit">Access Code</property>
79  <property name="readonly_layout_modes">
80   <element value="edit"/>
81  </property>
82  <property name="hidden_layout_modes"/>
83  <property name="hidden_readonly_layout_modes"/>
84  <property name="prefix">HOS</property>
85 </widget>
86 <widget name="bed" meta_type="Method Widget">
87  <property name="title">Bed</property>
88  <property name="fields">
89   <element value="bed"/>
90  </property>
91  <property name="label">Bed</property>
92  <property name="label_edit">Bed</property>
93  <property name="readonly_layout_modes">
94   <element value="edit"/>
95  </property>
96  <property name="hidden_layout_modes">
97   <element value="create"/>
98  </property>
99  <property name="hidden_readonly_layout_modes"/>
100  <property name="render_method">getFormattedBed</property>
101 </widget>
102 <widget name="session" meta_type="String Widget">
103  <property name="title">Session</property>
104  <property name="fields">
105   <element value="session"/>
106  </property>
107  <property name="label">Session</property>
108  <property name="label_edit">Session</property>
109  <property name="readonly_layout_modes">
110   <element value="edit"/>
111  </property>
112  <property name="hidden_layout_modes">
113   <element value="create"/>
114  </property>
115  <property name="hidden_readonly_layout_modes"/>
116 </widget>
117 <widget name="student_status" meta_type="String Widget">
118  <property name="title">Bed Type</property>
119  <property name="fields">
120   <element value="student_status"/>
121  </property>
122  <property name="label">Bed Type</property>
123  <property name="label_edit">Bed Type</property>
124  <property name="readonly_layout_modes">
125   <element value="edit"/>
126  </property>
127  <property name="hidden_layout_modes">
128   <element value="create"/>
129  </property>
130  <property name="hidden_readonly_layout_modes"/>
131 </widget>
132 <table>
133  <row>
134   <cell name="bed"/>
135  </row>
136  <row>
137   <cell name="acco_res_sc_pin"/>
138  </row>
139  <row>
140   <cell name="acco_res_date"/>
141  </row>
142  <row>
143   <cell name="acco_maint_sc_pin"/>
144  </row>
145  <row>
146   <cell name="acco_maint_fee"/>
147  </row>
148  <row>
149   <cell name="acco_maint_date"/>
150  </row>
151 </table>
152</object>
153
Note: See TracBrowser for help on using the repository browser.