source: WAeUP_SRP/base/profiles/default/layouts/application_pume.xml @ 3675

Last change on this file since 3675 was 3593, checked in by Henrik Bettermann, 16 years ago

make sex invisible in create mode

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