Changeset 1786 for WAeUP_SRP/trunk
- Timestamp:
- 15 May 2007, 19:17:37 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1781 r1786 652 652 ###) 653 653 654 654 655 655 # all workflow transitions refer to students in state returning 656 656 student_field2types = { ###( … … 664 664 'entry_session', 665 665 'jamb_score', 666 'email', 667 'phone', 666 'app_email', 668 667 ) 669 668 }, 670 'StudentPume':671 {'id': 'pume',672 'title': 'Pume Data',673 'wf_transition': 'close',674 'fields':675 ('pume_score',676 )677 },669 #'StudentPume': 670 # {'id': 'pume', 671 # 'title': 'Pume Data', 672 # 'wf_transition': 'close', 673 # 'fields': 674 # ('pume_score', 675 # ) 676 # }, 678 677 'StudentClearance': 679 678 {'id': 'clearance', … … 802 801 sub_obj = getattr(student_obj,f2t[pt]['id'],None) 803 802 if sub_obj is None: 804 student_obj.invokeFactory(pt,f2t[pt]['id']) 803 try: 804 student_obj.invokeFactory(pt,f2t[pt]['id']) 805 except: 806 continue 805 807 sub_obj = getattr(student_obj,f2t[pt]['id']) 806 808 sub_doc = sub_obj.getContent() -
WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml
r1772 r1786 20 20 <property name="hidden_readonly_layout_modes"/> 21 21 </widget> 22 <widget name="app_email" meta_type="Email Widget"> 23 <property name="title">Application Email</property> 24 <property name="fields"> 25 <element value="email"/> 26 </property> 27 <property name="is_required">False</property> 28 <property name="label">Application Email</property> 29 <property name="label_edit">Application Email</property> 30 <property name="readonly_layout_modes"/> 31 <property name="hidden_layout_modes"/> 32 <property name="hidden_readonly_layout_modes"/> 33 </widget> 22 34 <widget name="phone" meta_type="String Widget"> 23 35 <property name="title">Phone</property> -
WAeUP_SRP/trunk/profiles/default/layouts/student_course_result.xml
r1783 r1786 1 <?xml version="1.0" ?> 2 - <object name="student_course_result" meta_type="CPS Layout"> 3 <property name="layout_create_method" /> 4 <property name="layout_edit_method" /> 5 <property name="layout_view_method" /> 6 <property name="style_prefix">layout_waeup_</property> 7 <property name="flexible_widgets" /> 8 <property name="validate_values_expr" /> 9 + <widget name="ansbook" meta_type="String Widget"> 10 <property name="title">Ansbook</property> 11 - <property name="fields"> 12 <element value="ansbook" /> 13 </property> 14 <property name="label">Ansbook</property> 15 <property name="label_edit">Ansbook</property> 16 <property name="readonly_layout_modes" /> 17 <property name="hidden_layout_modes" /> 18 <property name="hidden_readonly_layout_modes" /> 19 </widget> 20 - <widget name="carry_level" meta_type="String Widget"> 21 <property name="title">Carry Level</property> 22 - <property name="fields"> 23 <element value="carry_level" /> 24 </property> 25 <property name="label">Carry Level</property> 26 <property name="label_edit">Carry Level</property> 27 <property name="readonly_layout_modes" /> 28 <property name="hidden_layout_modes" /> 29 <property name="hidden_readonly_layout_modes" /> 30 </widget> 31 - <widget name="code" meta_type="CertificateCourseId Widget"> 32 <property name="title">Course Code</property> 33 - <property name="fields"> 34 <element value="code" /> 35 </property> 36 <property name="is_required">True</property> 37 <property name="label">Course Code</property> 38 <property name="label_edit">Course Code</property> 39 <property name="readonly_layout_modes" /> 40 - <property name="hidden_layout_modes"> 41 <element value="view" /> 42 <element value="edit" /> 43 </property> 44 <property name="hidden_readonly_layout_modes" /> 45 </widget> 46 - <widget name="core_or_elective" meta_type="Boolean Widget"> 47 <property name="title">Core or Elective</property> 48 - <property name="fields"> 49 <element value="core_or_elective" /> 50 </property> 51 <property name="is_required">True</property> 52 <property name="label">Core or Elective</property> 53 <property name="label_edit">Core or Elective</property> 54 <property name="readonly_layout_modes" /> 55 <property name="hidden_layout_modes" /> 56 <property name="hidden_readonly_layout_modes" /> 57 <property name="label_false">elective</property> 58 <property name="label_true">core</property> 59 </widget> 60 - <widget name="credits" meta_type="Int Widget"> 61 <property name="title">Credits</property> 62 - <property name="fields"> 63 <element value="credits" /> 64 </property> 65 <property name="label">Credits</property> 66 <property name="label_edit">Credits</property> 67 - <property name="readonly_layout_modes"> 68 <element value="edit" /> 69 <element value="create" /> 70 </property> 71 - <property name="hidden_layout_modes"> 72 <element value="create" /> 73 </property> 74 <property name="hidden_readonly_layout_modes" /> 75 </widget> 76 - <widget name="grade" meta_type="String Widget"> 77 <property name="title">Grade</property> 78 - <property name="fields"> 79 <element value="grade" /> 80 </property> 81 <property name="label">Grade</property> 82 <property name="label_edit">Grade</property> 83 <property name="readonly_layout_modes" /> 84 <property name="hidden_layout_modes" /> 85 <property name="hidden_readonly_layout_modes" /> 86 </widget> 87 - <widget name="import_id" meta_type="String Widget"> 88 <property name="title">ID imported</property> 89 - <property name="fields"> 90 <element value="import_id" /> 91 </property> 92 <property name="label">ID imported</property> 93 <property name="label_edit">ID imported</property> 94 - <property name="readonly_layout_modes"> 95 <element value="edit" /> 96 <element value="create" /> 97 </property> 98 - <property name="hidden_layout_modes"> 99 <element value="create" /> 100 </property> 101 <property name="hidden_readonly_layout_modes" /> 102 </widget> 103 - <widget name="passmark" meta_type="Int Widget"> 104 <property name="title">Passmark</property> 105 - <property name="fields"> 106 <element value="passmark" /> 107 </property> 108 <property name="label">Passmark</property> 109 <property name="label_edit">Passmark</property> 110 - <property name="readonly_layout_modes"> 111 <element value="edit" /> 112 <element value="create" /> 113 </property> 114 - <property name="hidden_layout_modes"> 115 <element value="create" /> 116 </property> 117 <property name="hidden_readonly_layout_modes" /> 118 </widget> 119 - <widget name="score" meta_type="Int Widget"> 120 <property name="title">Score</property> 121 - <property name="fields"> 122 <element value="score" /> 123 </property> 124 <property name="label">Score</property> 125 <property name="label_edit">Score</property> 126 <property name="readonly_layout_modes" /> 127 <property name="hidden_layout_modes" /> 128 <property name="hidden_readonly_layout_modes" /> 129 </widget> 130 - <widget name="semester" meta_type="Int Widget"> 131 <property name="title">Semester</property> 132 - <property name="fields"> 133 <element value="semester" /> 134 </property> 135 <property name="label">Semester</property> 136 <property name="label_edit">Semester</property> 137 <property name="readonly_layout_modes" /> 138 <property name="hidden_layout_modes" /> 139 <property name="hidden_readonly_layout_modes" /> 140 </widget> 141 - <widget name="status" meta_type="String Widget"> 142 <property name="title">Status</property> 143 - <property name="fields"> 144 <element value="status" /> 145 </property> 146 <property name="label">Status</property> 147 <property name="label_edit">Status</property> 148 - <property name="readonly_layout_modes"> 149 <element value="edit" /> 150 <element value="create" /> 151 </property> 152 <property name="hidden_layout_modes" /> 153 <property name="hidden_readonly_layout_modes" /> 154 </widget> 155 - <widget name="title" meta_type="String Widget"> 156 <property name="title">Course Title</property> 157 - <property name="fields"> 158 <element value="title" /> 159 </property> 160 <property name="label">Course Title</property> 161 <property name="label_edit">Course Title</property> 162 - <property name="readonly_layout_modes"> 163 <element value="edit" /> 164 <element value="create" /> 165 </property> 166 - <property name="hidden_layout_modes"> 167 <element value="create" /> 168 </property> 169 <property name="hidden_readonly_layout_modes" /> 170 <property name="display_width">60</property> 171 </widget> 172 - <widget name="weight" meta_type="String Widget"> 173 <property name="title">Weight</property> 174 - <property name="fields"> 175 <element value="weight" /> 176 </property> 177 <property name="label">Weight</property> 178 <property name="label_edit">Weight</property> 179 <property name="readonly_layout_modes" /> 180 <property name="hidden_layout_modes" /> 181 <property name="hidden_readonly_layout_modes" /> 182 </widget> 183 - <table> 184 - <row> 185 <cell name="code" /> 186 </row> 187 - <row> 188 <cell name="title" /> 189 </row> 190 - <row> 191 <cell name="semester" /> 192 </row> 193 - <row> 194 <cell name="credits" /> 195 </row> 196 - <row> 197 <cell name="passmark" /> 198 </row> 199 - <row> 200 <cell name="grade" /> 201 </row> 202 - <row> 203 <cell name="ansbook" /> 204 </row> 205 - <row> 206 <cell name="status" /> 207 </row> 208 - <row> 209 <cell name="score" /> 210 </row> 211 - <row> 212 <cell name="weight" /> 213 </row> 214 - <row> 215 <cell name="core_or_elective" /> 216 </row> 217 - <row> 218 <cell name="carry_level" /> 219 </row> 220 </table> 221 </object> 1 <?xml version="1.0"?> 2 <object name="student_course_result" meta_type="CPS Layout"> 3 <property name="layout_create_method"></property> 4 <property name="layout_edit_method"></property> 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_waeup_</property> 7 <property name="flexible_widgets"/> 8 <property name="validate_values_expr"></property> 9 <widget name="ansbook" meta_type="String Widget"> 10 <property name="title">Ansbook</property> 11 <property name="fields"> 12 <element value="ansbook"/> 13 </property> 14 <property name="label">Ansbook</property> 15 <property name="label_edit">Ansbook</property> 16 <property name="readonly_layout_modes"/> 17 <property name="hidden_layout_modes"/> 18 <property name="hidden_readonly_layout_modes"/> 19 </widget> 20 <widget name="carry_level" meta_type="String Widget"> 21 <property name="title">Carry Level</property> 22 <property name="fields"> 23 <element value="carry_level"/> 24 </property> 25 <property name="label">Carry Level</property> 26 <property name="label_edit">Carry Level</property> 27 <property name="readonly_layout_modes"/> 28 <property name="hidden_layout_modes"/> 29 <property name="hidden_readonly_layout_modes"/> 30 </widget> 31 <widget name="code" meta_type="CertificateCourseId Widget"> 32 <property name="title">Course Code</property> 33 <property name="fields"> 34 <element value="code"/> 35 </property> 36 <property name="is_required">True</property> 37 <property name="label">Course Code</property> 38 <property name="label_edit">Course Code</property> 39 <property name="readonly_layout_modes"/> 40 <property name="hidden_layout_modes"> 41 <element value="view"/> 42 <element value="edit"/> 43 </property> 44 <property name="hidden_readonly_layout_modes"/> 45 </widget> 46 <widget name="core_or_elective " meta_type="Boolean Widget"> 47 <property name="title">Core or Elective</property> 48 <property name="fields"> 49 <element value="core_or_elective"/> 50 </property> 51 <property name="is_required">True</property> 52 <property name="label">Core or Elective</property> 53 <property name="label_edit">Core or Elective</property> 54 <property name="readonly_layout_modes"/> 55 <property name="hidden_layout_modes"/> 56 <property name="hidden_readonly_layout_modes"/> 57 <property name="label_false">elective</property> 58 <property name="label_true">core</property> 59 </widget> 60 <widget name="credits" meta_type="Int Widget"> 61 <property name="title">Credits</property> 62 <property name="fields"> 63 <element value="credits"/> 64 </property> 65 <property name="label">Credits</property> 66 <property name="label_edit">Credits</property> 67 <property name="readonly_layout_modes"> 68 <element value="edit"/> 69 <element value="create"/> 70 </property> 71 <property name="hidden_layout_modes"> 72 <element value="create"/> 73 </property> 74 <property name="hidden_readonly_layout_modes"/> 75 </widget> 76 <widget name="grade" meta_type="String Widget"> 77 <property name="title">Grade</property> 78 <property name="fields"> 79 <element value="grade"/> 80 </property> 81 <property name="label">Grade</property> 82 <property name="label_edit">Grade</property> 83 <property name="readonly_layout_modes"/> 84 <property name="hidden_layout_modes"/> 85 <property name="hidden_readonly_layout_modes"/> 86 </widget> 87 <widget name="import_id" meta_type="String Widget"> 88 <property name="title">ID imported</property> 89 <property name="fields"> 90 <element value="import_id"/> 91 </property> 92 <property name="label">ID imported</property> 93 <property name="label_edit">ID imported</property> 94 <property name="readonly_layout_modes"> 95 <element value="edit"/> 96 <element value="create"/> 97 </property> 98 <property name="hidden_layout_modes"> 99 <element value="create"/> 100 </property> 101 <property name="hidden_readonly_layout_modes"/> 102 </widget> 103 <widget name="passmark" meta_type="Int Widget"> 104 <property name="title">Passmark</property> 105 <property name="fields"> 106 <element value="passmark"/> 107 </property> 108 <property name="label">Passmark</property> 109 <property name="label_edit">Passmark</property> 110 <property name="readonly_layout_modes"> 111 <element value="edit"/> 112 <element value="create"/> 113 </property> 114 <property name="hidden_layout_modes"> 115 <element value="create"/> 116 </property> 117 <property name="hidden_readonly_layout_modes"/> 118 </widget> 119 <widget name="score" meta_type="Int Widget"> 120 <property name="title">Score</property> 121 <property name="fields"> 122 <element value="score"/> 123 </property> 124 <property name="label">Score</property> 125 <property name="label_edit">Score</property> 126 <property name="readonly_layout_modes"/> 127 <property name="hidden_layout_modes"/> 128 <property name="hidden_readonly_layout_modes"/> 129 </widget> 130 <widget name="semester" meta_type="Int Widget"> 131 <property name="title">Semester</property> 132 <property name="fields"> 133 <element value="semester"/> 134 </property> 135 <property name="label">Semester</property> 136 <property name="label_edit">Semester</property> 137 <property name="readonly_layout_modes"/> 138 <property name="hidden_layout_modes"/> 139 <property name="hidden_readonly_layout_modes"/> 140 </widget> 141 <widget name="status" meta_type="String Widget"> 142 <property name="title">Status</property> 143 <property name="fields"> 144 <element value="status"/> 145 </property> 146 <property name="label">Status</property> 147 <property name="label_edit">Status</property> 148 <property name="readonly_layout_modes"> 149 <element value="edit"/> 150 <element value="create"/> 151 </property> 152 <property name="hidden_layout_modes"/> 153 <property name="hidden_readonly_layout_modes"/> 154 </widget> 155 <widget name="title" meta_type="String Widget"> 156 <property name="title">Course Title</property> 157 <property name="fields"> 158 <element value="title"/> 159 </property> 160 <property name="label">Course Title</property> 161 <property name="label_edit">Course Title</property> 162 <property name="readonly_layout_modes"> 163 <element value="edit"/> 164 <element value="create"/> 165 </property> 166 <property name="hidden_layout_modes"> 167 <element value="create"/> 168 </property> 169 <property name="hidden_readonly_layout_modes"/> 170 <property name="display_width">60</property> 171 </widget> 172 <widget name="weight" meta_type="String Widget"> 173 <property name="title">Weight</property> 174 <property name="fields"> 175 <element value="weight"/> 176 </property> 177 <property name="label">Weight</property> 178 <property name="label_edit">Weight</property> 179 <property name="readonly_layout_modes"/> 180 <property name="hidden_layout_modes"/> 181 <property name="hidden_readonly_layout_modes"/> 182 </widget> 183 <table> 184 <row> 185 <cell name="code"/> 186 </row> 187 <row> 188 <cell name="title"/> 189 </row> 190 <row> 191 <cell name="semester"/> 192 </row> 193 <row> 194 <cell name="credits"/> 195 </row> 196 <row> 197 <cell name="passmark"/> 198 </row> 199 <row> 200 <cell name="grade"/> 201 </row> 202 <row> 203 <cell name="ansbook"/> 204 </row> 205 <row> 206 <cell name="status"/> 207 </row> 208 <row> 209 <cell name="score"/> 210 </row> 211 <row> 212 <cell name="weight"/> 213 </row> 214 <row> 215 <cell name="core_or_elective "/> 216 </row> 217 <row> 218 <cell name="carry_level"/> 219 </row> 220 </table> 221 </object> 222 -
WAeUP_SRP/trunk/profiles/default/schemas/import_student.xml
r1754 r1786 17 17 <field name="phone" meta_type="CPS String Field"/> 18 18 <field name="email" meta_type="CPS String Field"/> 19 <field name="app_email" meta_type="CPS String Field"/> 19 20 <field name="current_level" meta_type="CPS String Field"/> 20 21 <field name="current_session" meta_type="CPS String Field"/> 21 22 <field name="current_verdict" meta_type="CPS String Field"/> 22 <field name="current_mode" meta_type="CPS String Field"/> 23 <field name="current_mode" meta_type="CPS String Field"/> 23 24 <field name="perm_address" meta_type="CPS String Field"/> 24 25 </object> -
WAeUP_SRP/trunk/profiles/default/schemas/student_application.xml
r1735 r1786 10 10 <field name="objection_date" meta_type="CPS DateTime Field"/> 11 11 <field name="jamb_age" meta_type="CPS Int Field"/> 12 <field name="import_mode" meta_type="CPS String Field"/>13 12 <field name="jamb_first_cos" meta_type="CPS String Field"/> 14 13 <field name="jamb_first_uni" meta_type="CPS String Field"/>
Note: See TracChangeset for help on using the changeset viewer.