source: WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml @ 7759

Last change on this file since 7759 was 5183, checked in by Henrik Bettermann, 15 years ago

implement changeWorkflofState from Gilles Lenfant

http://glenfant.wordpress.com/2010/04/02/changing-workflow-state-quickly-on-cmfplone-content/

1st step: bypass doActionFor in StudentImport? and VerdictImport?

File size: 9.2 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="import_student" 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_waeup_</property>
8 <property name="flexible_widgets"/>
9 <property name="validate_values_expr"></property>
10 <widget name="import_mode" meta_type="Select Widget">
11  <property name="title">Import Mode</property>
12  <property name="fields">
13   <element value="import_mode"/>
14  </property>
15  <property name="is_required">True</property>
16  <property name="vocabulary">import_modes</property>
17 </widget>
18 <widget name="id" meta_type="String Widget">
19  <property name="title">Id</property>
20  <property name="fields">
21   <element value="id"/>
22  </property>
23  <property name="is_required">False</property>
24 </widget>
25
26 <widget name="reg_transition" meta_type="String Widget">
27  <property name="title">Transition after import</property>
28  <property name="fields">
29   <element value="reg_transition"/>
30  </property>
31  <property name="is_required">True</property>
32 </widget>
33 
34 <widget name="change_reg_state" meta_type="String Widget">
35  <property name="fields">
36   <element value="change_reg_state"/>
37  </property>
38  <property name="is_required">False</property>
39 </widget>
40 
41 
42 <widget name="email" meta_type="Email Widget">
43  <property name="title">Email</property>
44  <property name="fields">
45   <element value="email"/>
46  </property>
47  <property name="is_required">False</property>
48 </widget>
49 <widget name="app_email" meta_type="Email Widget">
50  <property name="title">Application Email</property>
51  <property name="fields">
52   <element value="app_email"/>
53  </property>
54  <property name="is_required">False</property>
55 </widget>
56 <widget name="phone" meta_type="String Widget">
57  <property name="title">Phone</property>
58  <property name="fields">
59   <element value="phone"/>
60  </property>
61 </widget>
62 <widget name="perm_address" meta_type="String Widget">
63  <property name="title">Address</property>
64  <property name="fields">
65   <element value="perm_address"/>
66  </property>
67 </widget>
68 <widget name="firstname" meta_type="String Widget">
69  <property name="title">First Name</property>
70  <property name="fields">
71   <element value="firstname"/>
72  </property>
73  <property name="is_required">False</property>
74 </widget>
75 <widget name="middlename" meta_type="String Widget">
76  <property name="title">Middle Name</property>
77  <property name="fields">
78   <element value="middlename"/>
79  </property>
80 </widget>
81 <widget name="lastname" meta_type="String Widget">
82  <property name="title">Last Name</property>
83  <property name="fields">
84   <element value="lastname"/>
85  </property>
86  <property name="is_required">True</property>
87 </widget>
88<widget name="birthday" meta_type="DateTime Widget">
89 <property name="title">Birthday</property>
90 <property name="fields">
91  <element value="birthday"/>
92 </property>
93 <property name="view_format">%d/%m/%Y</property>
94 <property name="time_setting">False</property>
95 <property name="time_hour_default">00</property>
96</widget>
97  <widget name="entry_mode" meta_type="Select Widget">
98  <property name="title">Entry Mode</property>
99  <property name="fields">
100   <element value="entry_mode"/>
101  </property>
102  <property name="is_required">True</property>
103  <property name="vocabulary">entry_modes</property>
104 </widget>
105  <widget name="current_mode" meta_type="Select Widget">
106  <property name="title">Current Mode</property>
107  <property name="fields">
108   <element value="current_mode"/>
109  </property>
110  <property name="is_required">False</property>
111  <property name="vocabulary">entry_modes</property>
112 </widget>
113 <widget name="current_session" meta_type="WAeUP Session Widget">
114  <property name="title">Current Session</property>
115  <property name="fields">
116   <element value="current_session"/>
117  </property>
118  <property name="is_required">True</property>
119  <property name="vocabulary">unset</property>
120  <property name="sorted">True</property>
121 </widget>
122 <widget name="current_level" meta_type="Select Widget">
123  <property name="title">Current Level</property>
124  <property name="fields">
125   <element value="current_level"/>
126  </property>
127  <property name="is_required">True</property>
128  <property name="vocabulary">student_levels</property>
129 </widget>
130 <widget name="current_verdict" meta_type="WAeUP Verdict Widget">
131  <property name="title">Current Verdict</property>
132  <property name="fields">
133   <element value="current_verdict"/>
134  </property>
135  <property name="vocabulary">verdicts</property>
136  <property name="sorted">True</property>
137 </widget>
138 <widget name="previous_verdict" meta_type="WAeUP Verdict Widget">
139  <property name="title">Previous Verdict</property>
140  <property name="fields">
141   <element value="previous_verdict"/>
142  </property>
143  <property name="vocabulary">verdicts</property>
144  <property name="sorted">True</property>
145 </widget>
146 <widget name="entry_session" meta_type="WAeUP Session Widget">
147  <property name="title">Entry Session</property>
148  <property name="fields">
149   <element value="entry_session"/>
150  </property>
151  <property name="is_required">False</property>
152  <property name="vocabulary">unset</property>
153  <property name="sorted">True</property>
154 </widget>
155 <widget name="jamb_reg_no" meta_type="String Widget">
156  <property name="title">JAMB Registration No</property>
157  <property name="fields">
158   <element value="jamb_reg_no"/>
159  </property>
160 </widget>
161
162 <widget name="jamb_score" meta_type="String Widget">
163  <property name="title">JAMB Score</property>
164  <property name="fields">
165   <element value="jamb_score"/>
166  </property>
167 </widget>
168
169 <widget name="jamb_age" meta_type="String Widget">
170  <property name="title">JAMB Age</property>
171  <property name="fields">
172   <element value="jamb_age"/>
173  </property>
174 </widget>
175
176 <widget name="jamb_sex" meta_type="String Widget">
177  <property name="title">JAMB Sex</property>
178  <property name="fields">
179   <element value="jamb_sex"/>
180  </property>
181 </widget>
182
183 <widget name="jamb_lga" meta_type="String Widget">
184  <property name="title">JAMB LGA</property>
185  <property name="fields">
186   <element value="jamb_lga"/>
187  </property>
188 </widget>
189
190  <widget name="jamb_state" meta_type="String Widget">
191  <property name="title">JAMB State</property>
192  <property name="fields">
193   <element value="jamb_state"/>
194  </property>
195 </widget>
196
197 <widget name="lga" meta_type="WAeUP LGA Widget">
198  <property name="title">LGA</property>
199  <property name="fields">
200   <element value="lga"/>
201  </property>
202 </widget>
203
204  <widget name="state" meta_type="WAeUP LGA Widget">
205  <property name="title">State</property>
206  <property name="fields">
207   <element value="state"/>
208  </property>
209 </widget>
210
211 <widget name="matric_no" meta_type="String Widget">
212  <property name="title">Matriculation No</property>
213  <property name="fields">
214   <element value="matric_no"/>
215  </property>
216 </widget>
217 <widget name="sex" meta_type="WAeUP Sex Widget">
218  <property name="title">Sex</property>
219  <property name="fields">
220   <element value="sex"/>
221  </property>
222  <property name="is_required">True</property>
223  <property name="label_false">male</property>
224  <property name="label_true">female</property>
225  <property name="render_format">select</property>
226 </widget>
227 <widget name="study_course" meta_type="StudyCourse Widget">
228  <property name="title">Study Course Code</property>
229  <property name="fields">
230   <element value="study_course"/>
231  </property>
232  <property name="is_required">True</property>
233 </widget>
234 
235 <widget name="password" meta_type="String Widget">
236  <property name="title">Password</property>
237  <property name="fields">
238   <element value="password"/>
239  </property>
240 </widget>
241 
242 
243 <widget name="app_ac_pin" meta_type="String Widget">
244  <property name="fields">
245   <element value="app_ac_pin"/>
246  </property>
247 </widget>
248 
249 <widget name="app_reg_pin" meta_type="String Widget">
250  <property name="fields">
251   <element value="app_reg_pin"/>
252  </property>
253 </widget>
254 
255 <widget name="app_ac_date" meta_type="DateTime Widget">
256  <property name="fields">
257   <element value="app_ac_date"/>
258  </property>
259  <property name="view_format">import</property>
260 </widget>
261 
262 <widget name="app_mobile" meta_type="String Widget">
263  <property name="fields">
264   <element value="app_mobile"/>
265  </property>
266 </widget>
267 
268 <widget name="request_date" meta_type="DateTime Widget">
269  <property name="fields">
270   <element value="request_date"/>
271  </property>
272  <property name="view_format">import</property>
273 </widget>
274 
275 <widget name="clr_ac_pin" meta_type="String Widget">
276  <property name="fields">
277   <element value="clr_ac_pin"/>
278  </property>
279 </widget>
280 
281 <widget name="cleared_date" meta_type="DateTime Widget">
282  <property name="fields">
283   <element value="cleared_date"/>
284  </property>
285  <property name="view_format">import</property>
286 </widget>
287 
288 <widget name="clearance_officer" meta_type="String Widget">
289  <property name="fields">
290   <element value="clearance_officer"/>
291  </property>
292 </widget>
293 
294 <widget name="marit_stat" meta_type="WAeUP Boolean Widget">
295  <property name="fields">
296   <element value="marit_stat"/>
297  </property>
298 </widget>
299 
300 <widget name="disabled" meta_type="WAeUP Boolean Widget">
301  <property name="fields">
302   <element value="disabled"/>
303  </property>
304 </widget>
305 
306</object>
Note: See TracBrowser for help on using the repository browser.