- Timestamp:
- 13 Aug 2007, 15:33:15 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r2094 r2095 248 248 """WAeUP Session Widget.""" 249 249 meta_type = 'WAeUP Session Widget' 250 250 251 251 def _getSessions(self): 252 252 current_year = DateTime().year() … … 522 522 if datastructure[self.state_field]: 523 523 v = datastructure[self.state_field] + '_' + v 524 524 525 525 if self.is_required and not len(v): 526 526 datastructure.setError(widget_id, "lga required") … … 533 533 state = datastructure[self.state_field].lower() 534 534 lga = "_".join(datastructure[self.lga_field].lower().split()) 535 datamodel[self.fields[0]] = state + "_" + lga 535 datamodel[self.fields[0]] = state + "_" + lga 536 536 return 1 537 537 … … 706 706 else: 707 707 mode = "xxxx" 708 if not valid: 708 if not valid: 709 709 err = 'Invalid number' 710 710 elif self.reference == '': … … 717 717 elif mode == 'add': 718 718 pass 719 elif self.reference != '' and self.catalog == " new_students":719 elif self.reference != '' and self.catalog == "applicants_catalog": 720 720 res = jamb_nr_catalog.searchResults({"%s" % self.reference: value}) 721 721 if len(res) != 1: … … 1384 1384 else: 1385 1385 applicant = datastructure['record'] 1386 if not applicant.pin: 1386 if not applicant.pin: 1387 1387 s_logger.info('%s successfully used PIN %s' % (ref,pin_str)) 1388 1388 d = {} -
WAeUP_SRP/trunk/profiles/default/layouts/application.xml
r2094 r2095 1 1 <?xml version="1.0"?> 2 2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?> 3 <object name=" new_students" meta_type="CPS Layout">3 <object name="application" meta_type="CPS Layout"> 4 4 <property name="layout_create_method">layout_enter_access_code</property> 5 5 <property name="layout_edit_method"></property> -
WAeUP_SRP/trunk/profiles/default/schemas/application.xml
r2094 r2095 1 1 <?xml version="1.0"?> 2 2 <?xml-stylesheet type="text/xsl" href="schema.xsl"?> 3 <object name=" new_students" meta_type="CPS Schema">3 <object name="application" meta_type="CPS Schema"> 4 4 <field name="course1" meta_type="CPS String Field"/> 5 5 <field name="course2" meta_type="CPS String Field"/>
Note: See TracChangeset for help on using the changeset viewer.