source: WAeUP_SRP/trunk/profiles/default/layouts/application.xml @ 2117

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

show correct image aspect ratio

(attention: I set data = image.read(240) but don't know the reason why it was set to 24 only)

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