Changeset 7376 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 18 Dec 2011, 11:29:58 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/__init__.py
r7347 r7376 7 7 ) 8 8 from waeup.sirp.applicants.container import ApplicantsContainer 9 from waeup.sirp.applicants.root import ( 10 ApplicantsRoot, get_applicant_data, application_exists, 11 ) 9 from waeup.sirp.applicants.root import ApplicantsRoot 12 10 from waeup.sirp.applicants.dynamicroles import ( 13 11 ApplicantPrincipalRoleManager,) -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py
r7364 r7376 127 127 grok.context(IApplicant) 128 128 129 access_code = index.Field(attribute='access_code')129 #access_code = index.Field(attribute='access_code') 130 130 applicant_id = index.Field(attribute='applicant_id') 131 131 reg_number = index.Field(attribute='reg_number') -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r7364 r7376 172 172 ) 173 173 174 ac_prefix = schema.Choice(175 title = u'Accesscode prefix',176 required = True,177 default = None,178 source = application_pins_vocab,179 )174 #ac_prefix = schema.Choice( 175 # title = u'Activation code prefix', 176 # required = True, 177 # default = None, 178 # source = application_pins_vocab, 179 # ) 180 180 181 181 application_category = schema.Choice( … … 300 300 source = contextual_reg_num_source, 301 301 ) 302 access_code = schema.TextLine(303 title = u'AccessCode',304 required = False,305 readonly = True,306 )302 #access_code = schema.TextLine( 303 # title = u'Activation Code', 304 # required = False, 305 # readonly = True, 306 # ) 307 307 firstname = schema.TextLine( 308 308 title = u'First Name', -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7372 r7376 79 79 # Add an applicants container 80 80 applicantscontainer = ApplicantsContainer() 81 applicantscontainer.ac_prefix = 'APP'81 #applicantscontainer.ac_prefix = 'APP' 82 82 applicantscontainer.code = u'app2009' 83 83 applicantscontainer.prefix = 'app' … … 243 243 self.browser.getControl(name="form.provider").value = [ 244 244 'waeup.sirp.applicants.ApplicantsContainer'] 245 self.browser.getControl(name="form.ac_prefix").value = ['APP']245 #self.browser.getControl(name="form.ac_prefix").value = ['APP'] 246 246 self.browser.getControl(name="form.application_category").value = ['basic'] 247 247 self.browser.getControl("Add applicants container").click() … … 255 255 self.browser.getControl(name="form.provider").value = [ 256 256 'waeup.sirp.applicants.ApplicantsContainer'] 257 self.browser.getControl(name="form.ac_prefix").value = ['APP']257 #self.browser.getControl(name="form.ac_prefix").value = ['APP'] 258 258 self.browser.getControl(name="form.application_category").value = ['basic'] 259 259 self.browser.getControl("Add applicants container").click() … … 269 269 self.browser.getControl(name="form.provider").value = [ 270 270 'waeup.sirp.applicants.ApplicantsContainer'] 271 self.browser.getControl(name="form.ac_prefix").value = ['APP']271 #self.browser.getControl(name="form.ac_prefix").value = ['APP'] 272 272 self.browser.getControl(name="form.application_category").value = ['basic'] 273 273 self.browser.getControl("Add applicants container").click()
Note: See TracChangeset for help on using the changeset viewer.