source: WAeUP_SRP/uniben/profiles/default/layouts/application_pce.xml @ 3438

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

change from upper to lower case keys

fillApplicationCategory.py: improve logging

enable export and import of application_category field

remove vocabulary property from layouts

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