source: WAeUP_SRP/uniben/profiles/default/layouts/student_application.xml @ 3321

Last change on this file since 3321 was 3321, checked in by Henrik Bettermann, 17 years ago

Store application pin in application object, otherwise the old registration number would be lost for CEST and Sandwich students. These students are admitted with a constructed registration number.

  • Property svn:keywords set to Id
File size: 19.5 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="student_application" 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_application_</property>
8 <property name="flexible_widgets"/>
9 <property name="validate_values_expr"></property>
10 <widget name="app_ac_date" meta_type="DateTime Widget">
11  <property name="title">Admission Checking Date</property>
12  <property name="fields">
13   <element value="app_ac_date"/>
14  </property>
15  <property name="label">Admission Checking Date</property>
16  <property name="label_edit">Admission Checking Date</property>
17  <property name="readonly_layout_modes">
18   <element value="edit"/>
19  </property>
20  <property name="hidden_layout_modes">
21   <element value="create"/>
22  </property>
23  <property name="hidden_readonly_layout_modes"/>
24  <property name="view_format">%d/%m/%Y</property>
25  <property name="time_setting">False</property>
26 </widget>
27 <widget name="app_ac_pin" meta_type="Scratchcard Pin Widget">
28  <property name="title">Admission Checking PIN</property>
29  <property name="fields">
30   <element value="app_ac_pin"/>
31  </property>
32  <property name="label">Admission Checking PIN</property>
33  <property name="label_edit">Admission Checking PIN</property>
34  <property name="readonly_layout_modes">
35   <element value="edit"/>
36  </property>
37  <property name="hidden_layout_modes"/>
38  <property name="hidden_readonly_layout_modes"/>
39  <property name="prefix">APP</property>
40  <property name="reference">jamb_reg_no</property>
41  <property name="reuse_pin">False</property>
42 </widget>
43 <widget name="app_reg_pin" meta_type="String Widget">
44  <property name="title">Application PIN</property>
45  <property name="fields">
46   <element value="app_reg_pin"/>
47  </property>
48  <property name="label">Application PIN</property>
49  <property name="label_edit">Application PIN</property>
50  <property name="readonly_layout_modes">
51   <element value="edit"/>
52  </property>
53  <property name="hidden_layout_modes"/>
54  <property name="hidden_readonly_layout_modes"/>
55  <property name="hidden_empty">True</property>
56 </widget>
57 <widget name="app_email" meta_type="Email Widget">
58  <property name="title">Email Address</property>
59  <property name="fields">
60   <element value="app_email"/>
61  </property>
62  <property name="label">Email Address</property>
63  <property name="label_edit">Email Address</property>
64  <property name="readonly_layout_modes">
65  </property>
66  <property name="hidden_layout_modes">
67   <element value="create"/>
68  </property>
69  <property name="hidden_readonly_layout_modes"/>
70 </widget>
71 <widget name="app_mobile" meta_type="String Widget">
72  <property name="title">Mobile Phone No</property>
73  <property name="fields">
74   <element value="app_mobile"/>
75  </property>
76  <property name="label">Mobile Phone No</property>
77  <property name="label_edit">Mobile Phone No</property>
78  <property name="readonly_layout_modes">
79   <element value="edit"/>
80  </property>
81  <property name="hidden_layout_modes">
82   <element value="create"/>
83  </property>
84  <property name="hidden_readonly_layout_modes"/>
85 </widget>
86 <widget name="entry_mode" meta_type="Select Widget">
87  <property name="title">Mode of Entry</property>
88  <property name="fields">
89   <element value="entry_mode"/>
90  </property>
91  <property name="label">Mode of Entry</property>
92  <property name="label_edit">Mode of Entry</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="vocabulary">entry_modes</property>
101 </widget>
102 <widget name="entry_session" meta_type="Select Widget">
103  <property name="title">Entry Session</property>
104  <property name="fields">
105   <element value="entry_session"/>
106  </property>
107  <property name="label">Entry Session</property>
108  <property name="label_edit">Entry 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  <property name="vocabulary">sessions</property>
117 </widget>
118 <widget name="jamb_age" meta_type="Int Widget">
119  <property name="title">Age</property>
120  <property name="fields">
121   <element value="jamb_age"/>
122  </property>
123  <property name="label">Age</property>
124  <property name="label_edit">Age</property>
125  <property name="hidden_layout_modes">
126   <element value="create"/>
127  </property>
128  <property name="readonly_layout_modes">
129   <element value="edit"/>
130  </property>
131  <property name="hidden_readonly_layout_modes"/>
132 </widget>
133 <widget name="jamb_first_cos" meta_type="String Widget">
134  <property name="title">JAMB First Choice Course of Study</property>
135  <property name="fields">
136   <element value="jamb_first_cos"/>
137  </property>
138  <property name="label">JAMB First Choice Course of Study</property>
139  <property name="label_edit">JAMB First Choice Course of Study</property>
140  <property name="readonly_layout_modes">
141   <element value="edit"/>
142  </property>
143  <property name="hidden_layout_modes">
144   <element value="create"/>
145  </property>
146  <property name="hidden_readonly_layout_modes"/>
147 </widget>
148
149 <widget name="jamb_firstname" meta_type="String Widget">
150  <property name="title">First Name</property>
151  <property name="fields">
152   <element value="jamb_firstname"/>
153  </property>
154  <property name="label">First Name</property>
155  <property name="label_edit">First Name</property>
156  <property name="readonly_layout_modes">
157   <element value="edit"/>
158  </property>
159  <property name="hidden_layout_modes">
160   <element value="create"/>
161  </property>
162  <property name="hidden_readonly_layout_modes"/>
163 </widget>
164 <widget name="jamb_lastname" meta_type="String Widget">
165  <property name="title">Last Name</property>
166  <property name="fields">
167   <element value="jamb_lastname"/>
168  </property>
169  <property name="label">Surname / Full Name</property>
170  <property name="label_edit">Last Name</property>
171  <property name="readonly_layout_modes">
172   <element value="edit"/>
173  </property>
174  <property name="hidden_layout_modes">
175   <element value="create"/>
176  </property>
177  <property name="hidden_readonly_layout_modes"/>
178 </widget>
179 <widget name="jamb_lga" meta_type="String Widget">
180  <property name="title">Local Government Area</property>
181  <property name="fields">
182   <element value="jamb_lga"/>
183  </property>
184  <property name="label">Local Government Area</property>
185  <property name="label_edit">Local Government Area</property>
186  <property name="readonly_layout_modes">
187   <element value="edit"/>
188  </property>
189  <property name="hidden_layout_modes">
190   <element value="create"/>
191  </property>
192  <property name="hidden_readonly_layout_modes"/>
193 </widget>
194 <widget name="jamb_middlename" meta_type="String Widget">
195  <property name="title">Middle Name</property>
196  <property name="fields">
197   <element value="jamb_middlename"/>
198  </property>
199  <property name="label">Middle Name</property>
200  <property name="label_edit">Middle Name</property>
201  <property name="readonly_layout_modes">
202   <element value="edit"/>
203  </property>
204  <property name="hidden_layout_modes">
205   <element value="create"/>
206  </property>
207  <property name="hidden_readonly_layout_modes"/>
208 </widget>
209
210 <widget name="jamb_reg_no" meta_type="JambRegNo Widget">
211  <property name="title">Registration Number</property>
212  <property name="fields">
213   <element value="jamb_reg_no"/>
214  </property>
215  <property name="label">Registration Number</property>
216  <property name="label_edit">Registration Number</property>
217  <property name="readonly_layout_modes">
218   <element value="edit"/>
219  </property>
220  <property name="hidden_layout_modes"/>
221  <property name="hidden_readonly_layout_modes"/>
222  <property name="display_width">12</property>
223  <property name="size_max">12</property>
224  <property name="catalog">students_catalog</property>
225 </widget>
226
227 <widget name="jamb_score" meta_type="String Widget">
228  <property name="title">JAMB Score</property>
229  <property name="fields">
230   <element value="jamb_score"/>
231  </property>
232  <property name="label">JAMB Score</property>
233  <property name="label_edit">JAMB Score</property>
234  <property name="readonly_layout_modes">
235   <element value="edit"/>
236  </property>
237  <property name="hidden_layout_modes">
238   <element value="create"/>
239  </property>
240  <property name="hidden_readonly_layout_modes"/>
241 </widget>
242 <widget name="jamb_second_cos" meta_type="String Widget">
243  <property name="title">JAMB Second Choice Course of Study</property>
244  <property name="fields">
245   <element value="jamb_second_cos"/>
246  </property>
247  <property name="label">JAMB Second Choice Course of Study</property>
248  <property name="label_edit">JAMB Second Choice Course of Study</property>
249  <property name="readonly_layout_modes">
250   <element value="edit"/>
251  </property>
252  <property name="hidden_layout_modes">
253   <element value="create"/>
254  </property>
255  <property name="hidden_readonly_layout_modes"/>
256 </widget>
257 <widget name="course3" meta_type="String Widget">
258  <property name="title">Third Choice Course of Study</property>
259  <property name="fields">
260   <element value="course3"/>
261  </property>
262  <property name="label">Third Choice Course of Study</property>
263  <property name="label_edit">Third Choice Course of Study</property>
264  <property name="readonly_layout_modes">
265   <element value="edit"/>
266  </property>
267  <property name="hidden_layout_modes">
268   <element value="create"/>
269  </property>
270  <property name="hidden_readonly_layout_modes"/>
271 </widget>
272
273 <widget name="jamb_sex" meta_type="String Widget">
274  <property name="title">Sex</property>
275  <property name="fields">
276   <element value="jamb_sex"/>
277  </property>
278  <property name="label">Sex</property>
279  <property name="label_edit">Sex</property>
280  <property name="readonly_layout_modes">
281   <element value="edit"/>
282  </property>
283  <property name="hidden_layout_modes">
284   <element value="create"/>
285  </property>
286  <property name="hidden_readonly_layout_modes"/>
287  <property name="display_width">1</property>
288  <property name="size_max">1</property>
289 </widget>
290 <widget name="jamb_state" meta_type="String Widget">
291  <property name="title">State</property>
292  <property name="fields">
293   <element value="jamb_state"/>
294  </property>
295  <property name="label">State</property>
296  <property name="label_edit">State</property>
297  <property name="readonly_layout_modes">
298   <element value="edit"/>
299  </property>
300  <property name="hidden_layout_modes">
301   <element value="create"/>
302  </property>
303  <property name="hidden_readonly_layout_modes"/>
304 </widget>
305 <widget name="objection_date" meta_type="DateTime Widget">
306  <property name="title">Objection Date</property>
307  <property name="fields">
308   <element value="objection_date"/>
309  </property>
310  <property name="label">Objection Date</property>
311  <property name="label_edit">Objection Date</property>
312  <property name="readonly_layout_modes">
313   <element value="edit"/>
314  </property>
315  <property name="hidden_layout_modes">
316   <element value="create"/>
317  </property>
318  <property name="hidden_readonly_layout_modes"/>
319  <property name="view_format">%d/%m/%Y</property>
320 </widget>
321 <widget name="passport" meta_type="File Image Widget">
322  <property name="title">Passport Picture</property>
323  <property name="fields">
324   <element value="passport"/>
325  </property>
326  <property name="label">Passport Picture</property>
327  <property name="label_edit">Passport Picture</property>
328  <property
329     name="help">Upload passport photograph with red background</property>
330  <property name="readonly_layout_modes"/>
331  <property name="hidden_layout_modes">
332   <element value="create"/>
333  </property>
334  <property name="hidden_readonly_layout_modes"/>
335  <property name="size_max">204800</property>
336  <property name="display_external_editor">False</property>
337  <property name="display_width">150</property>
338  <property name="display_height">200</property>
339  <property name="allow_resize">True</property>
340  <property name="show_image">True</property>
341  </widget>
342
343<widget name="screening_application_date" meta_type="DateTime Widget">
344 <property name="title">Screening Application Date</property>
345 <property name="fields">
346  <element value="screening_application_date"/>
347 </property>
348 <property name="label">Screening Application Date</property>
349 <property name="label_edit">Screening Application Date</property>
350    <property name="readonly_layout_modes">
351        <element value="edit"/>
352    </property>
353 <property name="hidden_layout_modes">
354  <element value="create"/>
355 </property>
356 <property name="hidden_readonly_layout_modes"/>
357  <property name="view_format">%d/%m/%Y</property>
358  <property name="time_setting">False</property>
359</widget>
360
361
362<widget name="date_of_birth" meta_type="DateTime Widget">
363 <property name="title">Date of Birth</property>
364 <property name="fields">
365  <element value="date_of_birth"/>
366 </property>
367 <property name="label">Date of Birth</property>
368 <property name="label_edit">Date of Birth</property>
369 <property name="readonly_layout_modes">
370  <element value="edit"/>
371 </property>
372 <property name="hidden_layout_modes">
373  <element value="create"/>
374 </property>
375 <property name="hidden_readonly_layout_modes"/>
376  <property name="view_format">%d/%m/%Y</property>
377  <property name="time_setting">False</property>
378</widget>
379
380
381 <widget name="screening_type" meta_type="String Widget">
382  <property name="title">Screening Type</property>
383  <property name="fields">
384   <element value="screening_type"/>
385  </property>
386  <property name="label">Screening Type</property>
387  <property name="label_edit">Screening Type</property>
388    <property name="readonly_layout_modes">
389        <element value="edit"/>
390    </property>
391  <property name="hidden_layout_modes">
392   <element value="create"/>
393  </property>
394  <property name="hidden_readonly_layout_modes"/>
395 </widget>
396
397 <widget name="screening_score" meta_type="String Widget">
398  <property name="title">Screening Score</property>
399  <property name="fields">
400   <element value="screening_score"/>
401  </property>
402  <property name="label">Screening Score</property>
403  <property name="label_edit">Screening Score</property>
404    <property name="readonly_layout_modes">
405        <element value="edit"/>
406    </property>
407  <property name="hidden_layout_modes">
408   <element value="create"/>
409  </property>
410  <property name="hidden_readonly_layout_modes"/>
411 </widget>
412
413<widget name="screening_date" meta_type="DateTime Widget">
414 <property name="title">Screening Date</property>
415 <property name="fields">
416  <element value="screening_date"/>
417 </property>
418 <property name="label">Screening Date</property>
419 <property name="label_edit">Screening Date</property>
420    <property name="readonly_layout_modes">
421        <element value="edit"/>
422    </property>
423 <property name="hidden_layout_modes">
424  <element value="create"/>
425 </property>
426 <property name="hidden_readonly_layout_modes"/>
427  <property name="view_format">%d/%m/%Y</property>
428  <property name="time_setting">False</property>
429</widget>
430
431
432  <widget name="hq_type" meta_type="Select Widget">
433    <property name="title">Higher Qualification</property>
434    <property name="fields">
435    <element value="hq_type"/>
436    </property>
437    <property name="label">Higher Qualification</property>
438    <property name="label_edit">Higher Qualification</property>
439    <property name="description">Higher Qualification Data</property>
440    <property name="readonly_layout_modes">
441        <element value="edit"/>
442    </property>
443    <property name="hidden_layout_modes">
444    <element value="create"/>
445    </property>
446    <property name="hidden_readonly_layout_modes"/>
447    <property name="vocabulary">high_qual</property>
448  </widget>
449
450
451  <widget name="hq_grade" meta_type="Select Widget">
452    <property name="title">Higher Qualification Grade</property>
453    <property name="fields">
454    <element value="hq_grade"/>
455    </property>
456    <property name="label">Higher Qualification Grade</property>
457    <property name="label_edit">Higher Qualification Grade</property>
458    <property name="readonly_layout_modes">
459        <element value="edit"/>
460    </property>
461    <property name="hidden_layout_modes">
462        <element value="create"/>
463    </property>
464    <property name="hidden_readonly_layout_modes"/>
465    <property name="vocabulary">high_grade</property>
466  </widget>
467
468  <widget name="aos" meta_type="Select Widget">
469    <property name="title">Area of Specialisation</property>
470    <property name="fields">
471      <element value="aos"/>
472    </property>
473    <property name="label">Area of Specialisation</property>
474    <property name="label_edit">Area of Specialisation</property>
475    <property name="description"></property>
476    <property name="help"></property>
477    <property name="is_i18n">False</property>
478    <property name="widget_mode_expr"></property>
479    <property name="readonly_layout_modes">
480      <element value="edit"/>
481    </property>
482    <property name="hidden_layout_modes">
483      <element value="create"/>
484    </property>
485    <property name="hidden_readonly_layout_modes"/>
486    <property name="vocabulary">aos</property>
487    <property name="sorted">True</property>
488    <property name="css_class_expr">string:row</property>
489  </widget>
490
491    <widget name="reg_no_string" meta_type="String Widget">
492     <property name="title">Registration Number String</property>
493     <property name="fields">
494      <element value="jamb_reg_no"/>
495     </property>
496     <property name="label">Registration Number String</property>
497     <property name="label_edit">Registration Number String</property>
498     <property name="readonly_layout_modes">
499      <element value="create"/>
500     </property>
501     <property name="readonly_if_expr">context/isStudent</property>
502     <property name="hidden_layout_modes">
503      <element value="create"/>
504      <element value="view"/>
505     </property>
506     <property name="hidden_readonly_layout_modes"/>
507     <property name="hidden_if_expr">context/isStudent</property>
508    </widget>
509
510
511
512 <table>
513  <row>
514   <cell name="jamb_reg_no" ncols="3"/>
515  </row>
516  <row>
517   <cell name="reg_no_string" ncols="3"/>
518  </row>
519  <row>
520   <cell name="app_ac_pin" ncols="3"/>
521  </row>
522  <row>
523   <cell name="app_reg_pin" ncols="3"/>
524  </row> 
525  <row>
526   <cell name="app_ac_date" ncols="3"/>
527  </row>
528  <row>
529   <cell name="app_email" ncols="3"/>
530  </row>
531  <row>
532   <cell name="app_mobile" ncols="3"/>
533  </row>
534  <row>
535   <cell name="jamb_firstname" ncols="3"/>
536  </row>
537  <row>
538   <cell name="jamb_middlename" ncols="3"/>
539  </row>
540  <row>
541   <cell name="jamb_lastname" ncols="3"/>
542  </row>
543  <row>
544   <cell name="jamb_sex" ncols="3"/>
545  </row>
546  <row>
547   <cell name="jamb_age" ncols="3"/>
548  </row>
549  <row>
550   <cell name="date_of_birth" ncols="3"/>
551  </row>
552  <row>
553   <cell name="jamb_state" ncols="3"/>
554  </row>
555  <row>
556   <cell name="jamb_lga" ncols="3"/>
557  </row>
558  <row>
559   <cell name="jamb_score" ncols="3"/>
560  </row>
561  <row>
562   <cell name="entry_mode" ncols="3"/>
563  </row>
564  <row>
565   <cell name="entry_session" ncols="3"/>
566  </row>
567  <row>
568   <cell name="jamb_first_cos" ncols="3"/>
569  </row>
570  <row>
571   <cell name="jamb_second_cos" ncols="3"/>
572  </row>
573  <row>
574   <cell name="course3" ncols="3"/>
575  </row>
576
577
578
579
580  <row>
581   <cell name="hq_type" ncols="2"/>
582  </row>
583  <row>
584   <cell name="hq_grade" ncols="2"/>
585  </row>
586  <row>
587   <cell name="aos" ncols="2"/>
588  </row>
589
590  <row>
591   <cell name="screening_type" ncols="3"/>
592  </row>
593  <row>
594   <cell name="screening_application_date" ncols="3"/>
595  </row>
596  <row>
597   <cell name="screening_score" ncols="3"/>
598  </row>
599  <row>
600   <cell name="screening_date" ncols="3"/>
601  </row>
602
603
604  <row>
605   <cell name="passport" ncols="3"/>
606  </row>
607
608  <row>
609   <cell name="objection_date" ncols="3"/>
610  </row>
611
612 </table>
613</object>
614
Note: See TracBrowser for help on using the repository browser.