source: WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml @ 757

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

fixed several bugs in the Apply for PUME Process:
jamb_reg_no had wrong widget
applying with a different PIN a second time led to an error.

the new fields:
appl_email, appl_mobile are set to hidden in laymode create
could not set the fields to required, cause that broke the applyForm.
layout: student_application.xml still has them set to required.

  • Property svn:keywords set to Id
File size: 8.8 KB
Line 
1<?xml version="1.0"?>
2<object name="student_application_fe" 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_application_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="app_ac_date" meta_type="DateTime Widget">
10  <property name="title">Application Date</property>
11  <property name="fields">
12   <element value="app_ac_date"/>
13  </property>
14  <property name="label">Application Date</property>
15  <property name="label_edit">Application Date</property>
16  <property name="readonly_layout_modes">
17   <element value="edit"/>
18  </property>
19  <property name="hidden_layout_modes">
20   <element value="create"/>
21  </property>
22  <property name="hidden_readonly_layout_modes"/>
23  <property name="view_format">iso8601_medium_easy</property>
24 </widget>
25 <widget name="app_ac_pin" meta_type="Scratchcard Pin Widget">
26  <property name="title">Application PIN</property>
27  <property name="fields">
28   <element value="app_ac_pin"/>
29  </property>
30  <property name="is_required">True</property>
31  <property name="label">Access Code</property>
32  <property name="label_edit">Application PIN</property>
33  <property name="readonly_layout_modes">
34   <element value="edit"/>
35  </property>
36  <property name="hidden_layout_modes"/>
37  <property name="hidden_readonly_layout_modes"/>
38  <property name="prefix">APP</property>
39  <property name="reference">jamb_reg_no</property>
40  </widget>
41 <widget name="entry_mode" meta_type="String Widget">
42  <property name="title">Mode of Entry</property>
43  <property name="fields">
44   <element value="entry_mode"/>
45  </property>
46  <property name="label">Mode of Entry</property>
47  <property name="label_edit">Mode of Entry</property>
48  <property name="readonly_layout_modes">
49   <element value="edit"/>
50  </property>
51  <property name="hidden_layout_modes">
52   <element value="create"/>
53  </property>
54  <property name="hidden_readonly_layout_modes"/>
55 </widget>
56 <widget name="appl_email" meta_type="Email Widget">
57  <property name="title">Email Address</property>
58  <property name="fields">
59   <element value="appl_email"/>
60  </property>
61  <property name="label">Email Address</property>
62  <property name="label_edit">Email Address</property>
63  <property name="is_required">False</property>
64  <property name="readonly_layout_modes">
65  </property>
66  <property name="hidden_layout_modes">create</property>
67  <property name="hidden_readonly_layout_modes"/>
68 </widget>
69 <widget name="appl_mobile" meta_type="String Widget">
70  <property name="title">Mobile Phone No</property>
71  <property name="fields">
72   <element value="appl_mobile"/>
73  </property>
74  <property name="label">Mobile Phone No</property>
75  <property name="is_required">False</property>
76  <property name="label_edit">Mobile Phone No</property>
77  <property name="readonly_layout_modes">
78  </property>
79  <property name="hidden_layout_modes">create</property>
80  <property name="hidden_readonly_layout_modes"/>
81 </widget>
82 <widget name="jamb_first_cos" meta_type="String Widget">
83  <property name="title">JAMB First Choice Course of Study</property>
84  <property name="fields">
85   <element value="jamb_first_cos"/>
86  </property>
87  <property name="label">First Choice Course of Study</property>
88  <property name="label_edit">First Choice Course of Study</property>
89  <property name="readonly_layout_modes">
90   <element value="edit"/>
91  </property>
92  <property name="hidden_layout_modes">
93   <element value="create"/>
94  </property>
95  <property name="hidden_readonly_layout_modes"/>
96 </widget>
97 <widget name="jamb_firstname" meta_type="String Widget">
98  <property name="title">JAMB First Name</property>
99  <property name="fields">
100   <element value="jamb_firstname"/>
101  </property>
102  <property name="label">JAMB Firstname</property>
103  <property name="label_edit">JAMB Firstname</property>
104  <property name="readonly_layout_modes">
105   <element value="edit"/>
106  </property>
107  <property name="hidden_layout_modes">
108   <element value="create"/>
109   <element value="edit"/>
110  </property>
111  <property name="hidden_readonly_layout_modes"/>
112 </widget>
113 <widget name="jamb_lastname" meta_type="String Widget">
114  <property name="title">JAMB Lastname</property>
115  <property name="fields">
116   <element value="jamb_lastname"/>
117  </property>
118  <property name="label">Student's Name</property>
119  <property name="label_edit">Name</property>
120  <property name="readonly_layout_modes">
121   <element value="edit"/>
122  </property>
123  <property name="hidden_layout_modes">
124   <element value="create"/>
125  </property>
126  <property name="hidden_readonly_layout_modes"/>
127 </widget>
128 <widget name="jamb_middlename" meta_type="String Widget">
129  <property name="title">JAMB Middlename</property>
130  <property name="fields">
131   <element value="jamb_middlename"/>
132  </property>
133  <property name="label">JAMB Middlename</property>
134  <property name="label_edit">JAMB Middlename</property>
135  <property name="readonly_layout_modes">
136   <element value="edit"/>
137  </property>
138  <property name="hidden_layout_modes">
139   <element value="create"/>
140   <element value="edit"/>
141  </property>
142  <property name="hidden_readonly_layout_modes"/>
143 </widget>
144 <widget name="jamb_reg_no" meta_type="JambRegNo Widget">
145  <property name="title">JAMB Registration Number</property>
146  <property name="fields">
147   <element value="jamb_reg_no"/>
148  </property>
149  <property name="label">JAMB Registration Number</property>
150  <property name="label_edit">JAMB Registration Number</property>
151  <property name="readonly_layout_modes">
152   <element value="edit"/>
153  </property>
154  <property name="hidden_layout_modes"/>
155  <property name="hidden_readonly_layout_modes"/>
156  <property name="display_width">10</property>
157  <property name="size_max">10</property>
158 </widget>
159 <widget name="jamb_second_cos" meta_type="String Widget">
160  <property name="title">JAMB Second Choice Course of Study</property>
161  <property name="fields">
162   <element value="jamb_second_cos"/>
163  </property>
164  <property name="label">Second Choice Course of Study</property>
165  <property name="label_edit">Second Choice Course of Study</property>
166  <property name="readonly_layout_modes">
167   <element value="edit"/>
168  </property>
169  <property name="hidden_layout_modes">
170   <element value="create"/>
171  </property>
172  <property name="hidden_readonly_layout_modes"/>
173 </widget>
174 <widget name="jamb_sex" meta_type="String Widget">
175  <property name="title">JAMB Sex</property>
176  <property name="fields">
177   <element value="jamb_sex"/>
178  </property>
179  <property name="label">Sex</property>
180  <property name="label_edit">Sex</property>
181  <property name="readonly_layout_modes">
182   <element value="edit"/>
183  </property>
184  <property name="hidden_layout_modes">
185   <element value="create"/>
186  </property>
187  <property name="hidden_readonly_layout_modes"/>
188 </widget>
189 <widget name="jamb_state" meta_type="String Widget">
190  <property name="title">JAMB State</property>
191  <property name="fields">
192   <element value="jamb_state"/>
193  </property>
194  <property name="label">State of Origin</property>
195  <property name="label_edit">JAMB State</property>
196  <property name="readonly_layout_modes">
197   <element value="edit"/>
198  </property>
199  <property name="hidden_layout_modes">
200   <element value="create"/>
201  </property>
202  <property name="hidden_readonly_layout_modes"/>
203 </widget>
204 <widget name="passport" meta_type="Photo Widget">
205  <property name="title">Passport Picture</property>
206  <property name="fields">
207   <element value="passport"/>
208  </property>
209  <property name="is_required">True</property>
210  <property name="label">Passport Picture</property>
211  <property name="label_edit">Passport Picture</property>
212  <property
213     name="help">Upload passport photograph with red background.</property>
214  <property name="readonly_layout_modes"/>
215  <property name="hidden_layout_modes">
216   <element value="create"/>
217  </property>
218  <property name="hidden_readonly_layout_modes"/>
219  <property name="size_max">204800</property>
220  <property name="display_external_editor">False</property>
221  <property name="display_width">150</property>
222  <property name="display_height">200</property>
223  <property name="allow_resize">True</property>
224 </widget>
225 <table>
226  <row>
227   <cell name="jamb_reg_no" ncols="3"/>
228  </row>
229  <row>
230   <cell name="app_ac_pin" ncols="3"/>
231  </row>
232  <row>
233   <cell name="app_ac_date" ncols="3"/>
234  </row>
235  <row>
236   <cell name="appl_email" ncols="3"/>
237  </row>
238  <row>
239   <cell name="appl_mobile" ncols="3"/>
240  </row>
241  <row>
242   <cell name="jamb_lastname" ncols="3"/>
243  </row>
244  <row>
245   <cell name="jamb_sex" ncols="3"/>
246  </row>
247  <row>
248   <cell name="entry_mode" ncols="3"/>
249  </row>
250  <row>
251   <cell name="jamb_state" ncols="3"/>
252  </row>
253  <row>
254   <cell name="jamb_first_cos" ncols="3"/>
255  </row>
256  <row>
257   <cell name="jamb_second_cos" ncols="3"/>
258  </row>
259  <row>
260   <cell name="passport" ncols="3"/>
261  </row>
262 </table>
263</object>
Note: See TracBrowser for help on using the repository browser.