source: WAeUP_SRP/uniben/profiles/default/layouts/student_application.xml @ 2821

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

enable editing of jamb_reg_no

fix layout_personal_edit

  • Property svn:keywords set to Id
File size: 18.8 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_email" meta_type="Email Widget">
44  <property name="title">Email Address</property>
45  <property name="fields">
46   <element value="app_email"/>
47  </property>
48  <property name="label">Email Address</property>
49  <property name="label_edit">Email Address</property>
50  <property name="readonly_layout_modes">
51  </property>
52  <property name="hidden_layout_modes">
53   <element value="create"/>
54  </property>
55  <property name="hidden_readonly_layout_modes"/>
56 </widget>
57 <widget name="app_mobile" meta_type="String Widget">
58  <property name="title">Mobile Phone No</property>
59  <property name="fields">
60   <element value="app_mobile"/>
61  </property>
62  <property name="label">Mobile Phone No</property>
63  <property name="label_edit">Mobile Phone No</property>
64  <property name="readonly_layout_modes">
65   <element value="edit"/>
66  </property>
67  <property name="hidden_layout_modes">
68   <element value="create"/>
69  </property>
70  <property name="hidden_readonly_layout_modes"/>
71 </widget>
72 <widget name="entry_mode" meta_type="Select Widget">
73  <property name="title">Mode of Entry</property>
74  <property name="fields">
75   <element value="entry_mode"/>
76  </property>
77  <property name="label">Mode of Entry</property>
78  <property name="label_edit">Mode of Entry</property>
79  <property name="readonly_layout_modes">
80   <element value="edit"/>
81  </property>
82  <property name="hidden_layout_modes">
83   <element value="create"/>
84  </property>
85  <property name="hidden_readonly_layout_modes"/>
86  <property name="vocabulary">entry_modes</property>
87 </widget>
88 <widget name="entry_session" meta_type="Select Widget">
89  <property name="title">Entry Session</property>
90  <property name="fields">
91   <element value="entry_session"/>
92  </property>
93  <property name="label">Entry Session</property>
94  <property name="label_edit">Entry Session</property>
95  <property name="readonly_layout_modes">
96   <element value="edit"/>
97  </property>
98  <property name="hidden_layout_modes">
99   <element value="create"/>
100  </property>
101  <property name="hidden_readonly_layout_modes"/>
102  <property name="vocabulary">sessions</property>
103 </widget>
104 <widget name="jamb_age" meta_type="Int Widget">
105  <property name="title">Age</property>
106  <property name="fields">
107   <element value="jamb_age"/>
108  </property>
109  <property name="label">Age</property>
110  <property name="label_edit">Age</property>
111  <property name="hidden_layout_modes">
112   <element value="create"/>
113  </property>
114  <property name="readonly_layout_modes">
115   <element value="edit"/>
116  </property>
117  <property name="hidden_readonly_layout_modes"/>
118 </widget>
119 <widget name="jamb_first_cos" meta_type="String Widget">
120  <property name="title">JAMB First Choice Course of Study</property>
121  <property name="fields">
122   <element value="jamb_first_cos"/>
123  </property>
124  <property name="label">JAMB First Choice Course of Study</property>
125  <property name="label_edit">JAMB First Choice Course of Study</property>
126  <property name="readonly_layout_modes">
127   <element value="edit"/>
128  </property>
129  <property name="hidden_layout_modes">
130   <element value="create"/>
131  </property>
132  <property name="hidden_readonly_layout_modes"/>
133 </widget>
134
135 <widget name="jamb_firstname" meta_type="String Widget">
136  <property name="title">First Name</property>
137  <property name="fields">
138   <element value="jamb_firstname"/>
139  </property>
140  <property name="label">First Name</property>
141  <property name="label_edit">First Name</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 </widget>
150 <widget name="jamb_lastname" meta_type="String Widget">
151  <property name="title">Last Name</property>
152  <property name="fields">
153   <element value="jamb_lastname"/>
154  </property>
155  <property name="label">Surname / Full Name</property>
156  <property name="label_edit">Last 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_lga" meta_type="String Widget">
166  <property name="title">Local Government Area</property>
167  <property name="fields">
168   <element value="jamb_lga"/>
169  </property>
170  <property name="label">Local Government Area</property>
171  <property name="label_edit">Local Government Area</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_middlename" meta_type="String Widget">
181  <property name="title">Middle Name</property>
182  <property name="fields">
183   <element value="jamb_middlename"/>
184  </property>
185  <property name="label">Middle Name</property>
186  <property name="label_edit">Middle Name</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
196 <widget name="jamb_reg_no" meta_type="JambRegNo Widget">
197  <property name="title">Registration Number</property>
198  <property name="fields">
199   <element value="jamb_reg_no"/>
200  </property>
201  <property name="label">Registration Number</property>
202  <property name="label_edit">Registration Number</property>
203  <property name="readonly_layout_modes">
204   <element value="edit"/>
205  </property>
206  <property name="hidden_layout_modes"/>
207  <property name="hidden_readonly_layout_modes"/>
208  <property name="display_width">12</property>
209  <property name="size_max">12</property>
210  <property name="catalog">students_catalog</property>
211 </widget>
212
213 <widget name="jamb_score" meta_type="String Widget">
214  <property name="title">JAMB Score</property>
215  <property name="fields">
216   <element value="jamb_score"/>
217  </property>
218  <property name="label">JAMB Score</property>
219  <property name="label_edit">JAMB Score</property>
220  <property name="readonly_layout_modes">
221   <element value="edit"/>
222  </property>
223  <property name="hidden_layout_modes">
224   <element value="create"/>
225  </property>
226  <property name="hidden_readonly_layout_modes"/>
227 </widget>
228 <widget name="jamb_second_cos" meta_type="String Widget">
229  <property name="title">JAMB Second Choice Course of Study</property>
230  <property name="fields">
231   <element value="jamb_second_cos"/>
232  </property>
233  <property name="label">JAMB Second Choice Course of Study</property>
234  <property name="label_edit">JAMB Second Choice Course of Study</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="course3" meta_type="String Widget">
244  <property name="title">Third Choice Course of Study</property>
245  <property name="fields">
246   <element value="course3"/>
247  </property>
248  <property name="label">Third Choice Course of Study</property>
249  <property name="label_edit">Third 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
259 <widget name="jamb_sex" meta_type="String Widget">
260  <property name="title">Sex</property>
261  <property name="fields">
262   <element value="jamb_sex"/>
263  </property>
264  <property name="label">Sex</property>
265  <property name="label_edit">Sex</property>
266  <property name="readonly_layout_modes">
267   <element value="edit"/>
268  </property>
269  <property name="hidden_layout_modes">
270   <element value="create"/>
271  </property>
272  <property name="hidden_readonly_layout_modes"/>
273  <property name="display_width">1</property>
274  <property name="size_max">1</property>
275 </widget>
276 <widget name="jamb_state" meta_type="String Widget">
277  <property name="title">State</property>
278  <property name="fields">
279   <element value="jamb_state"/>
280  </property>
281  <property name="label">State</property>
282  <property name="label_edit">State</property>
283  <property name="readonly_layout_modes">
284   <element value="edit"/>
285  </property>
286  <property name="hidden_layout_modes">
287   <element value="create"/>
288  </property>
289  <property name="hidden_readonly_layout_modes"/>
290 </widget>
291 <widget name="objection_date" meta_type="DateTime Widget">
292  <property name="title">Objection Date</property>
293  <property name="fields">
294   <element value="objection_date"/>
295  </property>
296  <property name="label">Objection Date</property>
297  <property name="label_edit">Objection Date</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  <property name="view_format">%d/%m/%Y</property>
306 </widget>
307 <widget name="passport" meta_type="File Image Widget">
308  <property name="title">Passport Picture</property>
309  <property name="fields">
310   <element value="passport"/>
311  </property>
312  <property name="label">Passport Picture</property>
313  <property name="label_edit">Passport Picture</property>
314  <property
315     name="help">Upload passport photograph with red background</property>
316  <property name="readonly_layout_modes"/>
317  <property name="hidden_layout_modes">
318   <element value="create"/>
319  </property>
320  <property name="hidden_readonly_layout_modes"/>
321  <property name="size_max">204800</property>
322  <property name="display_external_editor">False</property>
323  <property name="display_width">150</property>
324  <property name="display_height">200</property>
325  <property name="show_image">True</property>
326  </widget>
327
328<widget name="screening_application_date" meta_type="DateTime Widget">
329 <property name="title">Screening Application Date</property>
330 <property name="fields">
331  <element value="screening_application_date"/>
332 </property>
333 <property name="label">Screening Application Date</property>
334 <property name="label_edit">Screening Application Date</property>
335    <property name="readonly_layout_modes">
336        <element value="edit"/>
337    </property>
338 <property name="hidden_layout_modes">
339  <element value="create"/>
340 </property>
341 <property name="hidden_readonly_layout_modes"/>
342  <property name="view_format">%d/%m/%Y</property>
343  <property name="time_setting">False</property>
344</widget>
345
346
347<widget name="date_of_birth" meta_type="DateTime Widget">
348 <property name="title">Date of Birth</property>
349 <property name="fields">
350  <element value="date_of_birth"/>
351 </property>
352 <property name="label">Date of Birth</property>
353 <property name="label_edit">Date of Birth</property>
354 <property name="readonly_layout_modes">
355  <element value="edit"/>
356 </property>
357 <property name="hidden_layout_modes">
358  <element value="create"/>
359 </property>
360 <property name="hidden_readonly_layout_modes"/>
361  <property name="view_format">%d/%m/%Y</property>
362  <property name="time_setting">False</property>
363</widget>
364
365
366 <widget name="screening_type" meta_type="String Widget">
367  <property name="title">Screening Type</property>
368  <property name="fields">
369   <element value="screening_type"/>
370  </property>
371  <property name="label">Screening Type</property>
372  <property name="label_edit">Screening Type</property>
373    <property name="readonly_layout_modes">
374        <element value="edit"/>
375    </property>
376  <property name="hidden_layout_modes">
377   <element value="create"/>
378  </property>
379  <property name="hidden_readonly_layout_modes"/>
380 </widget>
381
382 <widget name="screening_score" meta_type="String Widget">
383  <property name="title">Screening Score</property>
384  <property name="fields">
385   <element value="screening_score"/>
386  </property>
387  <property name="label">Screening Score</property>
388  <property name="label_edit">Screening Score</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_date" meta_type="DateTime Widget">
399 <property name="title">Screening Date</property>
400 <property name="fields">
401  <element value="screening_date"/>
402 </property>
403 <property name="label">Screening Date</property>
404 <property name="label_edit">Screening Date</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  <property name="view_format">%d/%m/%Y</property>
413  <property name="time_setting">False</property>
414</widget>
415
416
417  <widget name="hq_type" meta_type="Select Widget">
418    <property name="title">Higher Qualification</property>
419    <property name="fields">
420    <element value="hq_type"/>
421    </property>
422    <property name="label">Higher Qualification</property>
423    <property name="label_edit">Higher Qualification</property>
424    <property name="description">Higher Qualification Data</property>
425    <property name="readonly_layout_modes">
426        <element value="edit"/>
427    </property>
428    <property name="hidden_layout_modes">
429    <element value="create"/>
430    </property>
431    <property name="hidden_readonly_layout_modes"/>
432    <property name="vocabulary">high_qual</property>
433  </widget>
434
435
436  <widget name="hq_grade" meta_type="Select Widget">
437    <property name="title">Higher Qualification Grade</property>
438    <property name="fields">
439    <element value="hq_grade"/>
440    </property>
441    <property name="label">Higher Qualification Grade</property>
442    <property name="label_edit">Higher Qualification Grade</property>
443    <property name="readonly_layout_modes">
444        <element value="edit"/>
445    </property>
446    <property name="hidden_layout_modes">
447        <element value="create"/>
448    </property>
449    <property name="hidden_readonly_layout_modes"/>
450    <property name="vocabulary">high_grade</property>
451  </widget>
452
453  <widget name="aos" meta_type="Select Widget">
454    <property name="title">Area of Specialisation</property>
455    <property name="fields">
456      <element value="aos"/>
457    </property>
458    <property name="label">Area of Specialisation</property>
459    <property name="label_edit">Area of Specialisation</property>
460    <property name="description"></property>
461    <property name="help"></property>
462    <property name="is_i18n">False</property>
463    <property name="widget_mode_expr"></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="vocabulary">aos</property>
472    <property name="sorted">True</property>
473    <property name="css_class_expr">string:row</property>
474  </widget>
475 
476 <widget name="reg_no_string" meta_type="String Widget">
477  <property name="title">Registration Number String</property>
478  <property name="fields">
479   <element value="jamb_reg_no"/>
480  </property>
481  <property name="label">Registration Number String</property>
482  <property name="label_edit">Registration Number String</property>
483  <property name="readonly_layout_modes">
484   <element value="create"/>
485   <element value="edit"/>
486  </property>
487  <property name="readonly_if_expr">context/isStudent</property>
488  <property name="hidden_layout_modes">
489   <element value="create"/>
490   <element value="edit"/>
491   <element value="view"/>
492  </property>
493  <property name="hidden_readonly_layout_modes"/>
494 </widget>
495 
496
497 <table>
498  <row>
499   <cell name="jamb_reg_no" ncols="3"/>
500  </row>
501  <row>
502   <cell name="reg_no_string" ncols="3"/>
503  </row> 
504  <row>
505   <cell name="app_ac_pin" ncols="3"/>
506  </row>
507  <row>
508   <cell name="app_ac_date" ncols="3"/>
509  </row>
510  <row>
511   <cell name="app_email" ncols="3"/>
512  </row>
513  <row>
514   <cell name="app_mobile" ncols="3"/>
515  </row>
516  <row>
517   <cell name="jamb_firstname" ncols="3"/>
518  </row>
519  <row>
520   <cell name="jamb_middlename" ncols="3"/>
521  </row>
522  <row>
523   <cell name="jamb_lastname" ncols="3"/>
524  </row>
525  <row>
526   <cell name="jamb_sex" ncols="3"/>
527  </row>
528  <row>
529   <cell name="jamb_age" ncols="3"/>
530  </row>
531  <row>
532   <cell name="date_of_birth" ncols="3"/>
533  </row>
534  <row>
535   <cell name="jamb_state" ncols="3"/>
536  </row>
537  <row>
538   <cell name="jamb_lga" ncols="3"/>
539  </row>
540  <row>
541   <cell name="jamb_score" ncols="3"/>
542  </row>
543  <row>
544   <cell name="entry_mode" ncols="3"/>
545  </row>
546  <row>
547   <cell name="entry_session" ncols="3"/>
548  </row>
549  <row>
550   <cell name="jamb_first_cos" ncols="3"/>
551  </row>
552  <row>
553   <cell name="jamb_second_cos" ncols="3"/>
554  </row>
555  <row>
556   <cell name="course3" ncols="3"/>
557  </row>
558
559
560
561
562  <row>
563   <cell name="hq_type" ncols="2"/>
564  </row>
565  <row>
566   <cell name="hq_grade" ncols="2"/>
567  </row>
568  <row>
569   <cell name="aos" ncols="2"/>
570  </row>
571
572  <row>
573   <cell name="screening_type" ncols="3"/>
574  </row>
575  <row>
576   <cell name="screening_application_date" ncols="3"/>
577  </row>
578  <row>
579   <cell name="screening_score" ncols="3"/>
580  </row>
581  <row>
582   <cell name="screening_date" ncols="3"/>
583  </row>
584
585
586  <row>
587   <cell name="passport" ncols="3"/>
588  </row>
589
590  <row>
591   <cell name="objection_date" ncols="3"/>
592  </row>
593
594 </table>
595</object>
596
Note: See TracBrowser for help on using the repository browser.