source: WAeUP_SRP/uniben/profiles/default/layouts/application_prence.xml @ 2329

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

improve application forms

File size: 25.3 KB
RevLine 
[2307]1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="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>
[2311]7  <property name="style_prefix">layout_apply_admission_</property>
[2307]8  <property name="flexible_widgets"/>
9  <property name="validate_values_expr"></property>
10
11  <widget name="reg_no" meta_type="JambRegNo Widget">
12    <property name="title">JAMB Registration Number</property>
13    <property name="fields">
14      <element value="reg_no"/>
15    </property>
16    <property name="label">JAMB Registration Number</property>
17    <property name="label_edit">JAMB Registration Number</property>
18    <property name="description"></property>
19    <property name="help"></property>
20    <property name="is_i18n">False</property>
21    <property name="widget_mode_expr"></property>
22    <property name="readonly_layout_modes">
23      <element value="edit"/>
24    </property>
25    <property name="hidden_layout_modes">
26      <element value="create"/>
[2321]27      <element value="edit"/>
[2327]28      <element value="view"/>
29      <element value="view_slip"/>
[2307]30    </property>
31    <property name="hidden_readonly_layout_modes"/>
32    <property name="css_class_expr">string:row</property>
33    <property name="display_width">13</property>
34    <property name="size_max">13</property>
35    <property name="reference">reg_no</property>
36    <property name="catalog">applicants_catalog</property>
37  </widget>
38  <widget name="date_of_birth" meta_type="DateTime Widget">
39    <property name="title">Date of Birth</property>
40    <property name="fields">
41      <element value="date_of_birth"/>
42    </property>
43    <property name="label">Date of Birth</property>
[2317]44    <property name="label_edit">Date of Birth (dd/mm/yyyy)</property>
[2307]45    <property name="description"></property>
[2327]46    <property name="is_required">True</property>
[2307]47    <property name="help"></property>
48    <property name="is_i18n">False</property>
49    <property name="widget_mode_expr"></property>
50    <property name="readonly_layout_modes"/>
51    <property name="hidden_layout_modes">
52      <element value="create"/>
53    </property>
[2317]54    <property name="view_format">%d/%m/%Y</property>
55    <property name="time_setting">False</property>
[2307]56    <property name="hidden_readonly_layout_modes"/>
57    <property name="css_class_expr">string:row</property>
58    <property name="is_i18n">False</property>
59  </widget>
60  <widget name="department" meta_type="String Widget">
61    <property name="title">Department</property>
62    <property name="fields">
63      <element value="department"/>
64    </property>
65    <property name="label">Department</property>
66    <property name="label_edit">Department</property>
67    <property name="description"></property>
68    <property name="help"></property>
69    <property name="is_i18n">False</property>
70    <property name="widget_mode_expr"></property>
71    <property name="readonly_layout_modes"/>
72    <property name="hidden_layout_modes"/>
73    <property name="hidden_readonly_layout_modes"/>
74    <property name="css_class_expr">string:row</property>
75  </widget>
76  <widget name="email" meta_type="Email Widget">
77    <property name="title">Email</property>
78    <property name="fields">
79      <element value="email"/>
80    </property>
81    <property name="label">Email</property>
82    <property name="label_edit">Email</property>
83    <property name="description"></property>
84    <property name="help"></property>
85    <property name="is_i18n">False</property>
86    <property name="widget_mode_expr"></property>
87    <property name="readonly_layout_modes"/>
88    <property name="hidden_layout_modes">
89      <element value="create"/>
90    </property>
91    <property name="hidden_readonly_layout_modes"/>
92    <property name="css_class_expr">string:row</property>
93  </widget>
94  <widget name="entry_mode" meta_type="String Widget">
95    <property name="title">Entry Mode</property>
96    <property name="fields">
97      <element value="entry_mode"/>
98    </property>
99    <property name="label">Entry Mode</property>
100    <property name="label_edit">Entry Mode</property>
101    <property name="description"></property>
102    <property name="help"></property>
103    <property name="is_i18n">False</property>
104    <property name="widget_mode_expr"></property>
105    <property name="readonly_layout_modes"/>
106    <property name="hidden_layout_modes"/>
107    <property name="hidden_readonly_layout_modes"/>
108    <property name="css_class_expr">string:row</property>
109  </widget>
110  <widget name="faculty" meta_type="String Widget">
111    <property name="title">Faculty</property>
112    <property name="fields">
113      <element value="faculty"/>
114    </property>
115    <property name="label">Faculty</property>
116    <property name="label_edit">Faculty</property>
117    <property name="description"></property>
118    <property name="help"></property>
119    <property name="is_i18n">False</property>
120    <property name="widget_mode_expr"></property>
121    <property name="readonly_layout_modes"/>
122    <property name="hidden_layout_modes"/>
123    <property name="hidden_readonly_layout_modes"/>
124    <property name="css_class_expr">string:row</property>
125  </widget>
126  <widget name="firstname" meta_type="String Widget">
[2321]127    <property name="title">First Name</property>
[2307]128    <property name="fields">
129      <element value="firstname"/>
130    </property>
[2321]131    <property name="label">First Name</property>
132    <property name="label_edit">First Name</property>
[2307]133    <property name="description"></property>
[2327]134    <property name="is_required">True</property>
[2307]135    <property name="help"></property>
136    <property name="is_i18n">False</property>
137    <property name="widget_mode_expr"></property>
138    <property name="readonly_layout_modes"/>
[2327]139    <property name="hidden_layout_modes">
140      <element value="create"/>
141    </property>
[2307]142    <property name="hidden_readonly_layout_modes"/>
143    <property name="css_class_expr">string:row</property>
144  </widget>
145  <widget name="aggregate" meta_type="Int Widget">
146    <property name="title">Total Score</property>
147    <property name="fields">
148      <element value="aggregate"/>
149    </property>
150    <property name="label">Total Score</property>
151    <property name="label_edit">Total Score</property>
152    <property name="description"></property>
153    <property name="help"></property>
154    <property name="is_i18n">False</property>
155    <property name="widget_mode_expr"></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    <property name="css_class_expr">string:row</property>
164  </widget>
165  <widget name="eng_score" meta_type="Int Widget">
166    <property name="title">English Score</property>
167    <property name="fields">
168      <element value="eng_score"/>
169    </property>
170    <property name="label">'English' Score</property>
171    <property name="label_edit">'English' Score</property>
172    <property name="description"></property>
173    <property name="help"></property>
174    <property name="is_i18n">False</property>
175    <property name="widget_mode_expr"></property>
176    <property name="readonly_layout_modes">
177      <element value="edit"/>
178    </property>
179    <property name="hidden_layout_modes">
180      <element value="create"/>
181    </property>
182    <property name="hidden_readonly_layout_modes"/>
183    <property name="css_class_expr">string:row</property>
184  </widget>
185  <widget name="subj1" meta_type="Select Widget">
186    <property name="title">Subject 1</property>
187    <property name="fields">
188      <element value="subj1"/>
189    </property>
190    <property name="label"></property>
191    <property name="label_edit">label field</property>
192    <property name="description"></property>
193    <property name="help"></property>
194    <property name="is_i18n">False</property>
195    <property name="widget_mode_expr"></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    <property name="css_class_expr">string:row</property>
204    <property name="vocabulary">jamb_subjects</property>
205  </widget>
206  <widget name="subj1score" meta_type="Int Widget">
207    <property name="title">Subject 1 Score</property>
208    <property name="fields">
209      <element value="subj1score"/>
210    </property>
211    <property name="label"></property>
212    <property name="label_edit"></property>
213    <property name="description"></property>
214    <property name="help"></property>
215    <property name="is_i18n">False</property>
216    <property name="widget_mode_expr"></property>
217    <property name="readonly_layout_modes">
218      <element value="edit"/>
219    </property>
220    <property name="hidden_layout_modes">
221      <element value="create"/>
222    </property>
223    <property name="hidden_readonly_layout_modes"/>
224    <property name="css_class_expr">string:row</property>
225  </widget>
226  <widget name="subj2" meta_type="Select Widget">
227    <property name="title">Subject 2</property>
228    <property name="fields">
229      <element value="subj2"/>
230    </property>
231    <property name="label"></property>
232    <property name="label_edit">label field</property>
233    <property name="description"></property>
234    <property name="help"></property>
235    <property name="is_i18n">False</property>
236    <property name="widget_mode_expr"></property>
237    <property name="readonly_layout_modes">
238      <element value="edit"/>
239    </property>
240    <property name="hidden_layout_modes">
241      <element value="create"/>
242    </property>
243    <property name="hidden_readonly_layout_modes"/>
244    <property name="css_class_expr">string:row</property>
245    <property name="vocabulary">jamb_subjects</property>
246  </widget>
247  <widget name="subj2score" meta_type="Int Widget">
248    <property name="title">Subject 2 Score</property>
249    <property name="fields">
250      <element value="subj2score"/>
251    </property>
252    <property name="label"></property>
253    <property name="label_edit"></property>
254    <property name="description"></property>
255    <property name="help"></property>
256    <property name="is_i18n">False</property>
257    <property name="widget_mode_expr"></property>
258    <property name="readonly_layout_modes">
259      <element value="edit"/>
260    </property>
261    <property name="hidden_layout_modes">
262      <element value="create"/>
263    </property>
264    <property name="hidden_readonly_layout_modes"/>
265    <property name="css_class_expr">string:row</property>
266  </widget>
267  <widget name="subj3" meta_type="Select Widget">
268    <property name="title">Subject 3</property>
269    <property name="fields">
270      <element value="subj3"/>
271    </property>
272    <property name="label"></property>
273    <property name="label_edit">label field</property>
274    <property name="description"></property>
275    <property name="help"></property>
276    <property name="is_i18n">False</property>
277    <property name="widget_mode_expr"></property>
278    <property name="readonly_layout_modes">
279      <element value="edit"/>
280    </property>
281    <property name="hidden_layout_modes">
282      <element value="create"/>
283    </property>
284    <property name="hidden_readonly_layout_modes"/>
285    <property name="vocabulary">jamb_subjects</property>
286    <property name="css_class_expr">string:row</property>
287  </widget>
288  <widget name="subj3score" meta_type="Int Widget">
289    <property name="title">Subject 3 Score</property>
290    <property name="fields">
291      <element value="subj3score"/>
292    </property>
293    <property name="label"></property>
294    <property name="label_edit"></property>
295    <property name="description"></property>
296    <property name="help"></property>
297    <property name="is_i18n">False</property>
298    <property name="widget_mode_expr"></property>
299    <property name="readonly_layout_modes">
300      <element value="edit"/>
301    </property>
302    <property name="hidden_layout_modes">
303      <element value="create"/>
304    </property>
305    <property name="hidden_readonly_layout_modes"/>
306    <property name="css_class_expr">string:row</property>
307  </widget>
308  <widget name="lastname" meta_type="String Widget">
[2321]309    <property name="title">Surname</property>
[2307]310    <property name="fields">
311      <element value="lastname"/>
312    </property>
[2321]313    <property name="label">Surname</property>
314    <property name="label_edit">Surname</property>
[2307]315    <property name="description"></property>
[2327]316    <property name="is_required">True</property>
[2307]317    <property name="help"></property>
318    <property name="is_i18n">False</property>
319    <property name="widget_mode_expr"></property>
320    <property name="readonly_layout_modes">
321    </property>
322    <property name="hidden_layout_modes">
323      <element value="create"/>
324    </property>
325    <property name="hidden_readonly_layout_modes"/>
326    <property name="css_class_expr">string:row</property>
327  </widget>
[2327]328 <widget name="lga" meta_type="Select Widget">
329  <property name="title">Local Government Area</property>
330  <property name="fields">
331   <element value="lga"/>
332  </property>
333  <property name="label">Local Government Area</property>
334  <property name="label_edit">Local Government Area</property>
335  <property name="readonly_layout_modes">
336  </property>
337  <property name="hidden_layout_modes">
338   <element value="create"/>
339  </property>
340  <property name="hidden_readonly_layout_modes"/>
341  <property name="vocabulary">local_gov_areas</property>
342 </widget>
[2307]343  <widget name="middlenames" meta_type="String Widget">
[2321]344    <property name="title">Middle Names</property>
[2307]345    <property name="fields">
346      <element value="middlenames"/>
347    </property>
[2321]348    <property name="label">Middle Names</property>
349    <property name="label_edit">Middle Names</property>
[2307]350    <property name="description"></property>
351    <property name="help"></property>
352    <property name="is_i18n">False</property>
353    <property name="widget_mode_expr"></property>
354    <property name="readonly_layout_modes"/>
[2327]355    <property name="hidden_layout_modes">
356      <element value="create"/>
357    </property>
[2307]358    <property name="hidden_readonly_layout_modes"/>
[2327]359    <property name="sorted">True</property>
[2307]360    <property name="css_class_expr">string:row</property>
361  </widget>
362  <widget name="passport" meta_type="No Zodb Image Widget">
363    <property name="title">Passport Photograph</property>
364    <property name="fields">
365      <element value="passport"/>
366    </property>
367    <property name="is_required">True</property>
368    <property name="label">Passport Photograph</property>
369    <property name="label_edit">Passport Photograph</property>
370    <property name="readonly_layout_modes"/>
371    <property name="hidden_layout_modes">
372      <element value="create"/>
373    </property>
374    <property name="hidden_readonly_layout_modes"/>
375    <property name="size_max">20480</property>
376    <property name="display_external_editor">False</property>
377    <property name="display_width">100</property>
378    <property name="display_height">150</property>
379    <property name="allow_resize">True</property>
380  </widget>
381  <widget name="phone" meta_type="String Widget">
382    <property name="title">Phone</property>
383    <property name="fields">
384      <element value="phone"/>
385    </property>
386    <property name="label">Phone</property>
387    <property name="label_edit">Phone</property>
388    <property name="description"></property>
389    <property name="help"></property>
390    <property name="is_i18n">False</property>
391    <property name="widget_mode_expr"></property>
392    <property name="readonly_layout_modes"/>
393    <property name="hidden_layout_modes">
394      <element value="create"/>
395    </property>
396    <property name="hidden_readonly_layout_modes"/>
397    <property name="css_class_expr">string:row</property>
398  </widget>
399  <widget name="pin" meta_type="Pume Pin Widget">
400    <property name="title">Access Code</property>
401    <property name="fields">
402      <element value="pin"/>
403    </property>
404    <property name="label">Access Code</property>
405    <property name="label_edit">Access Code</property>
406    <property name="description"></property>
407    <property name="help"></property>
408    <property name="is_i18n">False</property>
409    <property name="widget_mode_expr"></property>
410    <property name="readonly_layout_modes">
411      <element value="edit"/>
412    </property>
413    <property name="hidden_layout_modes">
414    </property>
415    <property name="hidden_readonly_layout_modes"/>
416    <property name="css_class_expr">string:row</property>
417    <property name="prefix">APP</property>
418    <property name="reference"></property>
419  </widget>
420  <widget name="application_date" meta_type="DateTime Widget">
421    <property name="title">Application Date</property>
422    <property name="fields">
423      <element value="application_date"/>
424    </property>
425    <property name="label">Application Date</property>
426    <property name="label_edit">Application Date</property>
427    <property name="description"></property>
428    <property name="help"></property>
429    <property name="is_i18n">False</property>
430    <property name="widget_mode_expr"></property>
431    <property name="readonly_layout_modes">
432      <element value="edit"/>
433    </property>
434    <property name="hidden_layout_modes">
435      <element value="create"/>
436    </property>
437    <property name="hidden_readonly_layout_modes"/>
438    <property name="view_format">%A, %B %d, %Y</property>
439    <property name="time_setting">False</property>
440    <property name="css_class_expr">string:row</property>
441  </widget>
442  <widget name="screening_date" meta_type="DateTime Widget">
443    <property name="title">Screening Date</property>
444    <property name="fields">
445      <element value="screening_date"/>
446    </property>
447    <property name="label">Screening Date</property>
448    <property name="label_edit">Screening Date</property>
449    <property name="description"></property>
450    <property name="help"></property>
451    <property name="is_i18n">False</property>
452    <property name="widget_mode_expr"></property>
453    <property name="readonly_layout_modes">
454      <element value="edit"/>
455    </property>
456    <property name="hidden_layout_modes">
457      <element value="create"/>
458    </property>
459    <property name="hidden_readonly_layout_modes"/>
460    <property name="view_format">%A, %B %d, %Y</property>
461    <property name="time_setting">False</property>
462    <property name="css_class_expr">string:row</property>
463  </widget>
[2321]464  <widget name="screening_type" meta_type="Select Widget">
[2307]465    <property name="title">Screening Type</property>
466    <property name="fields">
467      <element value="screening_type"/>
468    </property>
469    <property name="label">Screening Type</property>
470    <property name="label_edit">Screening Type</property>
471    <property name="description"></property>
472    <property name="help"></property>
473    <property name="is_i18n">False</property>
474    <property name="widget_mode_expr"></property>
475    <property name="readonly_layout_modes"/>
476    <property name="hidden_layout_modes"/>
477    <property name="hidden_readonly_layout_modes"/>
478    <property name="css_class_expr">string:row</property>
[2321]479    <property name="vocabulary">screening_types</property>
[2307]480  </widget>
481  <widget name="score" meta_type="Int Widget">
482    <property name="title">Score</property>
483    <property name="fields">
484      <element value="score"/>
485    </property>
486    <property name="label">Score</property>
487    <property name="label_edit">Score</property>
488    <property name="description"></property>
489    <property name="help"></property>
490    <property name="is_i18n">False</property>
491    <property name="widget_mode_expr"></property>
492    <property name="readonly_layout_modes"/>
493    <property name="hidden_layout_modes"/>
494    <property name="hidden_readonly_layout_modes"/>
495  </widget>
[2327]496 <widget name="sex" meta_type="Boolean Widget">
497  <property name="title">Sex</property>
498  <property name="fields">
499   <element value="sex"/>
500  </property>
501  <property name="label">Sex</property>
502  <property name="label_edit">Sex</property>
503  <property name="readonly_layout_modes"/>
504  <property name="hidden_layout_modes"/>
505  <property name="hidden_readonly_layout_modes"/>
506  <property name="label_false">male</property>
507  <property name="label_true">female</property>
508  <property name="render_format">select</property>
509 </widget>
[2307]510  <widget name="state" meta_type="WAeUP LGA Widget">
511    <property name="title">State</property>
512    <property name="fields">
513      <element value="lga"/>
514    </property>
515    <property name="label">State</property>
516    <property name="label_edit">State</property>
517    <property name="description"></property>
518    <property name="help"></property>
519    <property name="is_i18n">False</property>
520    <property name="widget_mode_expr"></property>
521    <property name="readonly_layout_modes"/>
522    <property name="hidden_layout_modes"/>
523    <property name="hidden_readonly_layout_modes"/>
524    <property name="css_class_expr">string:row</property>
525  </widget>
526  <widget name="status" meta_type="String Widget">
527    <property name="title">Application Status</property>
528    <property name="fields">
529      <element value="status"/>
530    </property>
531    <property name="label">Application Status</property>
532    <property name="label_edit">Application Status</property>
533    <property name="description"></property>
534    <property name="help"></property>
535    <property name="is_i18n">False</property>
536    <property name="widget_mode_expr"></property>
537    <property name="readonly_layout_modes">
538      <element value="edit"/>
539    </property>
540    <property name="hidden_layout_modes">
541      <element value="create"/>
542    </property>
543    <property name="hidden_readonly_layout_modes"/>
544    <property name="css_class_expr">string:row</property>
545  </widget>
546  <widget name="course1" meta_type="Select Widget">
547    <property name="title">1st Choice Course of Study</property>
548    <property name="fields">
549      <element value="course1"/>
550    </property>
551    <property name="label">1st Choice Course of Study</property>
552    <property name="label_edit">1st Choice Course of Study</property>
553    <property name="description"></property>
554    <property name="help"></property>
555    <property name="is_i18n">False</property>
556    <property name="widget_mode_expr"></property>
557    <property name="readonly_layout_modes">
558    </property>
559    <property name="hidden_layout_modes">
560      <element value="create"/>
561    </property>
562    <property name="hidden_readonly_layout_modes"/>
563    <property name="vocabulary">cos</property>
564    <property name="css_class_expr">string:row</property>
565  </widget>
566  <widget name="course2" meta_type="Select Widget">
567    <property name="title">2nd Choice Course of Study</property>
568    <property name="fields">
569      <element value="course2"/>
570    </property>
571    <property name="label">2nd Choice Course of Study</property>
572    <property name="label_edit">2nd Choice Course of Study</property>
573    <property name="description"></property>
574    <property name="help"></property>
575    <property name="is_i18n">False</property>
576    <property name="widget_mode_expr"></property>
577    <property name="readonly_layout_modes">
578      <element value="edit"/>
579    </property>
580    <property name="hidden_layout_modes">
581      <element value="create"/>
582    </property>
583    <property name="hidden_readonly_layout_modes"/>
584    <property name="vocabulary">cos</property>
585    <property name="css_class_expr">string:row</property>
586  </widget>
587  <widget name="course3" meta_type="Select Widget">
588    <property name="title">3rd Choice Course of Study</property>
589    <property name="fields">
590      <element value="course3"/>
591    </property>
592    <property name="label">3rd Choice Course of Study</property>
593    <property name="label_edit">3rd Choice Course of Study</property>
594    <property name="description"></property>
595    <property name="help"></property>
596    <property name="is_i18n">False</property>
597    <property name="widget_mode_expr"></property>
598    <property name="readonly_layout_modes">
599    </property>
600    <property name="hidden_layout_modes">
601      <element value="create"/>
602    </property>
603    <property name="hidden_readonly_layout_modes"/>
604    <property name="sorted">True</property>
605    <property name="vocabulary">cos</property>
606    <property name="css_class_expr">string:row</property>
607  </widget>
608  <widget name="course_admitted" meta_type="String Widget">
609    <property name="title">Course of Study</property>
610    <property name="fields">
611      <element value="course_admitted"/>
612    </property>
613    <property name="label">Course of Study</property>
614    <property name="label_edit">Course of Study</property>
615    <property name="description"></property>
616    <property name="help"></property>
617    <property name="is_i18n">False</property>
618    <property name="widget_mode_expr"></property>
619    <property name="readonly_layout_modes">
620      <element value="edit"/>
621    </property>
622    <property name="hidden_layout_modes">
623      <element value="create"/>
624    </property>
625    <property name="hidden_readonly_layout_modes"/>
626    <property name="css_class_expr">string:row</property>
627  </widget>
628
629 <table>
630  <row>
631   <cell name="pin" ncols="2"/>
632  </row>
633  <row>
634   <cell name="reg_no" ncols="2"/>
635  </row>
636  <row>
[2321]637   <cell name="firstname" ncols="2"/>
638  </row>
639  <row>
640   <cell name="middlenames" ncols="2"/>
[2327]641  </row>
[2321]642  <row>
[2307]643   <cell name="lastname" ncols="2"/>
644  </row>
645  <row>
646   <cell name="sex" ncols="2"/>
647  </row>
648  <row>
649   <cell name="date_of_birth" ncols="2"/>
650  </row>
651  <row>
[2327]652   <cell name="lga" ncols="2"/>
653  </row> 
654  <row>
[2307]655   <cell name="email" ncols="2"/>
656  </row>
657  <row>
658   <cell name="phone" ncols="2"/>
659  </row>
660  <row>
661   <cell name="course1" ncols="2"/>
662  </row>
663  <row>
664   <cell name="application_date" ncols="2"/>
665  </row>
666  <row>
667   <cell name="status" ncols="2"/>
668  </row>
669  <row>
670   <cell name="passport" ncols="2"/>
671  </row>
672 </table>
673</object>
Note: See TracBrowser for help on using the repository browser.