source: WAeUP_SRP/trunk/profiles/uniben/layouts/student_application.xml @ 7979

Last change on this file since 7979 was 7955, checked in by Henrik Bettermann, 13 years ago

The layout was not the right place to disable passport widget only for students.
This has to be done in layout_application_edit.pt.

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