Changeset 478 for WAeUP_SRP/trunk/profiles
- Timestamp:
- 4 Sep 2006, 13:03:08 (18 years ago)
- Location:
- WAeUP_SRP/trunk/profiles/default
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_application.xml
r472 r478 22 22 </property> 23 23 <property name="hidden_layout_modes"> 24 <element value="create"/> 24 <element value="create"/> 25 <element value="edit"/> 25 26 </property> 26 27 <property name="size_max">12</property> … … 35 36 <property name="label">JAMB Registration Number</property> 36 37 <property name="label_edit">JAMB Registration Number</property> 37 <property name="readonly_layout_modes"/> 38 <property name="readonly_layout_modes"> 39 <element value="edit"/> 40 </property> 38 41 <property name="hidden_layout_modes"/> 39 42 <property name="hidden_readonly_layout_modes"/> … … 50 53 <property name="label">JAMB First Name</property> 51 54 <property name="label_edit">JAMB First Name</property> 52 <property name="readonly_layout_modes"/> 53 <property name="hidden_layout_modes"/> 55 <property name="readonly_layout_modes"> 56 <element value="edit"/> 57 </property> 54 58 <property name="hidden_readonly_layout_modes"/> 55 59 </widget> … … 74 78 <property name="label">JAMB Middl Name</property> 75 79 <property name="label_edit">JAMB Middle Name</property> 76 <property name="readonly_layout_modes"/> 80 <property name="readonly_layout_modes"> 81 <element value="edit"/> 82 </property> 77 83 <property name="hidden_layout_modes"/> 78 84 <property name="hidden_readonly_layout_modes"/> … … 86 92 <property name="label">Mode of Entry</property> 87 93 <property name="label_edit">Mode of Entry</property> 88 <property name="readonly_layout_modes"/> 89 <property name="hidden_layout_modes"/> 94 <property name="readonly_layout_modes"> 95 <element value="edit"/> 96 </property> 97 <property name="hidden_layout_modes"> 98 <element value="create"/> 99 <element value="edit"/> 100 </property> 90 101 <property name="hidden_readonly_layout_modes"/> 91 102 </widget> … … 98 109 <property name="label">JAMB Sex</property> 99 110 <property name="label_edit">JAMB Sex</property> 100 <property name="readonly_layout_modes"/> 111 <property name="readonly_layout_modes"> 112 <element value="edit"/> 113 </property> 101 114 <property name="hidden_layout_modes"/> 102 115 <property name="hidden_readonly_layout_modes"/> … … 110 123 <property name="label">JAMB Age</property> 111 124 <property name="label_edit">JAMB Age</property> 112 <property name="readonly_layout_modes"/> 125 <property name="readonly_layout_modes"> 126 <element value="edit"/> 127 </property> 113 128 <property name="hidden_layout_modes"/> 114 129 <property name="hidden_readonly_layout_modes"/> … … 122 137 <property name="label">JAMB State</property> 123 138 <property name="label_edit">JAMB State</property> 124 <property name="readonly_layout_modes"/> 139 <property name="readonly_layout_modes"> 140 <element value="edit"/> 141 </property> 125 142 <property name="hidden_layout_modes"/> 126 143 <property name="hidden_readonly_layout_modes"/> … … 134 151 <property name="label">JAMB Local Government Area</property> 135 152 <property name="label_edit">JAMB Local Government Area</property> 136 <property name="readonly_layout_modes"/> 153 <property name="readonly_layout_modes"> 154 <element value="edit"/> 155 </property> 137 156 <property name="hidden_layout_modes"/> 138 157 <property name="hidden_readonly_layout_modes"/> … … 146 165 <property name="label">JAMB Score</property> 147 166 <property name="label_edit">JAMB Score</property> 148 <property name="readonly_layout_modes"/> 167 <property name="readonly_layout_modes"> 168 <element value="edit"/> 169 </property> 149 170 <property name="hidden_layout_modes"/> 150 171 <property name="hidden_readonly_layout_modes"/> … … 158 179 <property name="label">JAMB First Choice Course of Study</property> 159 180 <property name="label_edit">JAMB First Choice Course of Study</property> 160 <property name="readonly_layout_modes"/> 181 <property name="readonly_layout_modes"> 182 <element value="edit"/> 183 </property> 161 184 <property name="hidden_layout_modes"/> 162 185 <property name="hidden_readonly_layout_modes"/> … … 170 193 <property name="label">JAMB Second Choice Course of Study</property> 171 194 <property name="label_edit">JAMB Second Choice Course of Study</property> 172 <property name="readonly_layout_modes"/> 195 <property name="readonly_layout_modes"> 196 <element value="edit"/> 197 </property> 173 198 <property name="hidden_layout_modes"/> 174 199 <property name="hidden_readonly_layout_modes"/> … … 182 207 <property name="label">JAMB First Choice University</property> 183 208 <property name="label_edit">JAMB First Choice University</property> 184 <property name="readonly_layout_modes"/> 209 <property name="readonly_layout_modes"> 210 <element value="edit"/> 211 </property> 185 212 <property name="hidden_layout_modes"/> 186 213 <property name="hidden_readonly_layout_modes"/> … … 194 221 <property name="label">JAMB Second Choice University</property> 195 222 <property name="label_edit">JAMB Second Choice University</property> 196 <property name="readonly_layout_modes"/> 223 <property name="readonly_layout_modes"> 224 <element value="edit"/> 225 </property> 197 226 <property name="hidden_layout_modes"/> 198 227 <property name="hidden_readonly_layout_modes"/> … … 206 235 <property name="label">PUME General Paper</property> 207 236 <property name="label_edit">PUME General Paper</property> 208 <property name="readonly_layout_modes"/> 237 <property name="readonly_layout_modes"> 238 <element value="edit"/> 239 </property> 209 240 <property name="hidden_layout_modes"/> 210 241 <property name="hidden_readonly_layout_modes"/> … … 218 249 <property name="label">PUME English Score</property> 219 250 <property name="label_edit">PUME English Score</property> 220 <property name="readonly_layout_modes"/> 251 <property name="readonly_layout_modes"> 252 <element value="edit"/> 253 </property> 221 254 <property name="hidden_layout_modes"/> 222 255 <property name="hidden_readonly_layout_modes"/> … … 230 263 <property name="label">PUME Mathematics Score</property> 231 264 <property name="label_edit">PUME Mathematics Score</property> 232 <property name="readonly_layout_modes"/> 265 <property name="readonly_layout_modes"> 266 <element value="edit"/> 267 </property> 233 268 <property name="hidden_layout_modes"/> 234 269 <property name="hidden_readonly_layout_modes"/> … … 242 277 <property name="label">PUME Total Score</property> 243 278 <property name="label_edit">PUME Total Score</property> 244 <property name="readonly_layout_modes"/> 279 <property name="readonly_layout_modes"> 280 <element value="edit"/> 281 </property> 245 282 <property name="hidden_layout_modes"/> 246 283 <property name="hidden_readonly_layout_modes"/> … … 254 291 <property name="label">Passport Picture</property> 255 292 <property name="label_edit">Passport Picture</property> 256 <property name="readonly_layout_modes"/> 293 <property name="readonly_layout_modes"> 294 <element value="edit"/> 295 </property> 257 296 <property name="hidden_layout_modes"/> 258 297 <property name="hidden_readonly_layout_modes"/> -
WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml
r477 r478 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ waeup_</property>6 <property name="style_prefix">layout_student_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> -
WAeUP_SRP/trunk/profiles/default/layouts/student_check_pin.xml
r477 r478 1 1 <?xml version="1.0"?> 2 2 <object name="student_check_pin" meta_type="CPS Layout"> 3 <property name="layout_create_method"> layout_check_pin_create</property>3 <property name="layout_create_method"></property> 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ default_</property>6 <property name="style_prefix">layout_waeup_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> 9 <widget name=" jamb_id" meta_type="JambRegNoWidget">10 <property name="title"> Jamb Registration No</property>9 <widget name="batch_no" meta_type="String Widget"> 10 <property name="title">Batch Nr</property> 11 11 <property name="fields"> 12 <element value="jamb_reg_no"/> 12 <element value="batch_no"/> 13 </property> 14 <property name="readonly_layout_modes"> 15 <element value="create"/> 16 </property> 17 <property name="hidden_layout_modes"/> 18 <property name="hidden_readonly_layout_modes"/> 19 <property name="display_width">2</property> 20 <property name="size_max">2</property> 21 </widget> 22 <widget name="jamb_reg_no" meta_type="JambRegNo Widget"> 23 <property name="title">Student Jamb RegNo</property> 24 <property name="fields"> 25 <element value="reg_no"/> 13 26 </property> 14 27 <property name="is_required">True</property> … … 21 34 <property name="title">Scratchcard Pin</property> 22 35 <property name="fields"> 23 <element value=" app_ac_pin"/>36 <element value="pin"/> 24 37 </property> 38 <property name="is_required">True</property> 25 39 <property name="label_edit">Enter Scratch Card Pin</property> 26 40 <property name="readonly_layout_modes"/> … … 28 42 <property name="hidden_readonly_layout_modes"/> 29 43 </widget> 44 <widget name="prefix" meta_type="String Widget"> 45 <property name="title">Prefix</property> 46 <property name="fields"> 47 <element value="prefix"/> 48 </property> 49 <property name="label">Prefix</property> 50 <property name="readonly_layout_modes"> 51 <element value="create"/> 52 </property> 53 <property name="hidden_layout_modes"/> 54 <property name="hidden_readonly_layout_modes"/> 55 <property name="display_width">3</property> 56 <property name="size_max">3</property> 57 </widget> 30 58 <table> 31 59 <row> 32 <cell name="jamb_ id"/>60 <cell name="jamb_reg_no" ncols="3"/> 33 61 </row> 34 62 <row> 63 <cell name="prefix"/> 64 <cell name="batch_no"/> 35 65 <cell name="pin"/> 36 66 </row> -
WAeUP_SRP/trunk/profiles/default/schemas.xml
r472 r478 14 14 <object name="student" meta_type="CPS Schema"/> 15 15 <object name="student_study_course" meta_type="CPS Schema"/> 16 <object name="scratch_card_batch .xml" meta_type="CPS Schema"/>16 <object name="scratch_card_batch" meta_type="CPS Schema"/> 17 17 <object name="student_accommodation" meta_type="CPS Schema"/> 18 18 <object name="student_application" meta_type="CPS Schema"/> 19 <object name="student_check_pin" meta_type="CPS Schema"/> 19 20 <object name="student_clearance" meta_type="CPS Schema"/> 20 21 <object name="student_personal" meta_type="CPS Schema"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml
r472 r478 36 36 <permission value="View"/> 37 37 </action> 38 <action title="Add JAMB Data" action_id="add_jamb" category="object" 39 condition_expr="" url_expr="string:${object/absolute_url}/create_jamb" 40 visible="False"/> 38 <action title="Apply for PUME " action_id="apply_admission" category="object" 39 condition_expr="" url_expr="string:${object/absolute_url}/apply_admission" 40 visible="True"> 41 <permission value="View"/> 42 </action> 41 43 <action title="Check Application Status" action_id="check_application" 42 44 category="object" 43 condition_expr=" object/portal_membership/isAnonymousUser"45 condition_expr="" 44 46 url_expr="string:${object/absolute_url}/check_application" visible="False"> 45 47 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml
r473 r478 63 63 <transition transition_id="admit" title="" 64 64 new_state="admitted" trigger="USER" 65 before_script="" after_script=" open_clearance">65 before_script="" after_script=""> 66 66 67 67 <guard> … … 74 74 new_state="admission_applied" trigger="USER" 75 75 before_script="" 76 after_script=" close_application">76 after_script=""> 77 77 78 78 <guard> … … 85 85 new_state="cleared_and_validated" 86 86 trigger="USER" before_script="" 87 after_script=" open_personal">87 after_script=""> 88 88 89 89 <guard> … … 123 123 new_state="application_pin_entered" 124 124 trigger="USER" 125 before_script=" validate_application_pin"126 after_script=" open_application">125 before_script="" 126 after_script=""> 127 127 128 128 <guard> … … 135 135 new_state="clearance_pin_entered" 136 136 trigger="USER" 137 before_script=" validate_clearance_pin"138 after_script=" open_clearance">137 before_script="" 138 after_script=""> 139 139 140 140 <guard> … … 195 195 <transition transition_id="reject_clearance" title="" 196 196 new_state="clearance_pin_entered" 197 trigger="USER" before_script=" open_clearance"197 trigger="USER" before_script="" 198 198 after_script=""> 199 199 … … 206 206 <transition transition_id="request_clearence" title="" 207 207 new_state="clearence_requested" trigger="USER" 208 before_script="" after_script="close_clearance"> 209 210 <guard> 211 <guard-role>Manager</guard-role> 212 <guard-role>SectionManager</guard-role> 213 <guard-role>Owner</guard-role> 214 </guard> 215 </transition> 216 <script script_id="close_application" 217 type="Script (Python)" 218 filename="workflows/waeup_student_wf/scripts/close_application.py"/> 219 <script script_id="close_clearance" type="Script (Python)" 220 filename="workflows/waeup_student_wf/scripts/close_clearance.py"/> 221 <script script_id="close_personal" type="Script (Python)" 222 filename="workflows/waeup_student_wf/scripts/close_personal.py"/> 223 <script script_id="open_application" type="Script (Python)" 224 filename="workflows/waeup_student_wf/scripts/open_application.py"/> 225 <script script_id="open_clearance" type="Script (Python)" 226 filename="workflows/waeup_student_wf/scripts/open_clearance.py"/> 227 <script script_id="open_personal" type="Script (Python)" 228 filename="workflows/waeup_student_wf/scripts/open_personal.py"/> 229 <script script_id="validate_application_pin" 230 type="Script (Python)" 231 filename="workflows/waeup_student_wf/scripts/validate_application_pin.py"/> 232 <script script_id="validate_clearance_pin" 233 type="Script (Python)" 234 filename="workflows/waeup_student_wf/scripts/validate_clearance_pin.py"/> 208 before_script="" after_script=""> 209 210 <guard> 211 <guard-role>Manager</guard-role> 212 <guard-role>SectionManager</guard-role> 213 <guard-role>Owner</guard-role> 214 </guard> 215 </transition> 235 216 </cps-workflow>
Note: See TracChangeset for help on using the changeset viewer.