applicants.browser - Applicants UI Components

UI components for basic applicants and related components.

class waeup.kofa.applicants.browser.ApplicantAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-form to add an applicant.

__doc__ = 'Add-form to add an applicant.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicant
form_fields = <zope.formlib.form.FormFields object>
label = u'Add applicant'
pnav = 3
class waeup.kofa.applicants.browser.ApplicantBaseDisplayFormPage(context, request)[source]

Bases: waeup.kofa.applicants.browser.ApplicantDisplayFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
class waeup.kofa.applicants.browser.ApplicantBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for applicants.

__doc__ = 'A breadcrumb for applicants.\n '
__module__ = 'waeup.kofa.applicants.browser'
title

Get a title for a context.

class waeup.kofa.applicants.browser.ApplicantCheckStatusPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Captcha’d status checking page for applicants.

__doc__ = "Captcha'd status checking page for applicants.\n "
__module__ = 'waeup.kofa.applicants.browser'
buttonname = u'Submit'
label()[source]
update(SUBMIT=None)[source]
class waeup.kofa.applicants.browser.ApplicantDisplayFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

A display view for applicant data.

__doc__ = 'A display view for applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
display_payments
form_fields
getCourseAdmitted()[source]

Return link, title and code in html format to the certificate admitted.

hasPassword
hide_hint = False
label
pnav = 3
separators
target
update()[source]
class waeup.kofa.applicants.browser.ApplicantEditFormPage(context, request)[source]

Bases: waeup.kofa.applicants.browser.ApplicantManageFormPage

An applicant-centered edit view for applicant data.

__doc__ = 'An applicant-centered edit view for applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addPaymentTicket
dataNotComplete()[source]
display_actions
display_refereereports
emit_lock_message()[source]
finalsubmit
form_fields
informReferees()[source]
manage_applications = False
removePaymentTickets
save
submit_state = 'paid'
unremovable(ticket)[source]
update()[source]
class waeup.kofa.applicants.browser.ApplicantManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

A full edit view for applicant data.

__doc__ = 'A full edit view for applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addPaymentTicket
custom_upload_requirements
delPaymentTickets(**data)[source]
display_actions = [[u'Save', u'Finally Submit'], [u'Add online payment ticket', u'Remove selected tickets']]
display_payments
display_refereereports
file_exists(attr)[source]
form_fields
getTransitions()[source]

Return a list of dicts of allowed transition ids and titles.

Each list entry provides keys name and title for internal name and (human readable) title of a single transition.

label
manage_applications = True
pnav = 3
removePaymentTickets
save
separators
target
unremovable(ticket)[source]
update()[source]
class waeup.kofa.applicants.browser.ApplicantRegistrationEmailSent(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Landing page after successful registration.

__doc__ = 'Landing page after successful registration.\n\n '
__module__ = 'waeup.kofa.applicants.browser'
label = u'Your registration was successful.'
update(email=None, applicant_id=None, password=None)[source]
class waeup.kofa.applicants.browser.ApplicantRegistrationPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Captcha’d registration page for applicants.

__doc__ = "Captcha'd registration page for applicants.\n "
__module__ = 'waeup.kofa.applicants.browser'
_postfix

In customized packages we can add a container dependent string if applicants have been imported into several containers.

_redirect(email, password, applicant_id)[source]
actions
form_fields
label
register
update()[source]
class waeup.kofa.applicants.browser.ApplicantsContainerAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicantsContainer
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add applicants container'
pnav = 3
class waeup.kofa.applicants.browser.ApplicantsContainerBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for applicantscontainers.

__doc__ = 'A breadcrumb for applicantscontainers.\n '
__module__ = 'waeup.kofa.applicants.browser'
class waeup.kofa.applicants.browser.ApplicantsContainerManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
actions
addLocalRole
cancel
createStudents
delApplicant
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
getLocalRoles()[source]
getUsers()[source]

Get a list of all users.

getUsersWithLocalRoles()[source]
label
pnav = 3
save
showApplicants
taboneactions = [u'Save', u'Cancel']
tabthreeactions1 = [u'Remove selected local roles']
tabthreeactions2 = [u'Add local role']
tabtwoactions = [u'Remove selected', u'Cancel', u'Create students from selected']
class waeup.kofa.applicants.browser.ApplicantsContainerPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

The standard view for regular applicant containers.

__doc__ = 'The standard view for regular applicant containers.\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields
introduction
label
pnav = 3
class waeup.kofa.applicants.browser.ApplicantsContainerPrefillFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Form to pre-fill applicants containers.

__doc__ = 'Form to pre-fill applicants containers.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicants
cancel
label = u'Pre-fill container'
pnav = 3
update()[source]
class waeup.kofa.applicants.browser.ApplicantsContainerPurgeFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Form to purge applicants containers.

__doc__ = 'Form to purge applicants containers.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
cancel
label = u'Purge container'
pnav = 3
purgeInitialized
class waeup.kofa.applicants.browser.ApplicantsExportsBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for exports.

__doc__ = 'A breadcrumb for exports.\n '
__module__ = 'waeup.kofa.applicants.browser'
target = None
title = u'Applicant Data Exports'
class waeup.kofa.applicants.browser.ApplicantsRootBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for applicantsroot.

__doc__ = 'A breadcrumb for applicantsroot.\n '
__module__ = 'waeup.kofa.applicants.browser'
title = u'Applicants'
class waeup.kofa.applicants.browser.ApplicantsRootManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicantsContainer
addLocalRole
delApplicantsContainers
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
getLocalRoles()[source]
getUsers()[source]

Get a list of all users.

getUsersWithLocalRoles()[source]
label = u'Manage applicants section'
pnav = 3
save
subunits = u'Applicants Containers'
taboneactions = [u'Save']
tabthreeactions1 = [u'Remove selected local roles']
tabthreeactions2 = [u'Add local role']
tabtwoactions = [u'Add applicants container', u'Remove selected']
class waeup.kofa.applicants.browser.ApplicantsRootPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
containers
form_fields = <zope.formlib.form.FormFields object>
introduction
label = u'Applicants Section'
pnav = 3
update()[source]
class waeup.kofa.applicants.browser.ApplicantsSearchPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
label = u'Find applicants'
pnav = 3
search_button = u'Find applicant'
update(*args, **kw)[source]
class waeup.kofa.applicants.browser.ApplicantsStatisticsPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

Some statistics about applicants in a container.

__doc__ = 'Some statistics about applicants in a container.\n '
__module__ = 'waeup.kofa.applicants.browser'
label
class waeup.kofa.applicants.browser.ApplicationFeePaymentAddPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Page to add an online payment ticket

__doc__ = ' Page to add an online payment ticket\n '
__module__ = 'waeup.kofa.applicants.browser'
custom_requirements
factory = u'waeup.ApplicantOnlinePayment'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.CreateAllStudentsPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Create all student objects from applicant data in the root container or in a specific applicants container only. Only PortalManagers can do this.

__doc__ = 'Create all student objects from applicant data\n in the root container or in a specific applicants container only.\n Only PortalManagers can do this.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.CreateStudentPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Create a student object from applicant data.

__doc__ = 'Create a student object from applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.ExportJobContainerDownload(context, request)[source]

Bases: waeup.kofa.browser.pages.ExportCSVView

Page that downloads a students export csv file.

__doc__ = 'Page that downloads a students export csv file.\n\n '
__module__ = 'waeup.kofa.applicants.browser'
class waeup.kofa.applicants.browser.ExportJobContainerJobStart(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

View that starts two export jobs, one for applicants and a second one for applicant payments.

__doc__ = 'View that starts two export jobs, one for applicants and a second\n one for applicant payments.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.ExportJobContainerOverview(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Page that lists active applicant data export jobs and provides links to discard or download CSV files.

__doc__ = 'Page that lists active applicant data export jobs and provides links\n to discard or download CSV files.\n\n '
__module__ = 'waeup.kofa.applicants.browser'
label = u'Data Exports'
pnav = 3
update(CREATE=None, DISCARD=None, job_id=None)[source]
class waeup.kofa.applicants.browser.ExportPDFPageApplicationSlip(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Deliver a PDF slip of the context.

__doc__ = 'Deliver a PDF slip of the context.\n '
__module__ = 'waeup.kofa.applicants.browser'
prefix = 'form'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.ExportPDFPaymentSlipPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Deliver a PDF slip of the context.

__doc__ = 'Deliver a PDF slip of the context.\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
label
note = None
payment_slip_download_warning
prefix = 'form'
render()[source]
title
class waeup.kofa.applicants.browser.OnlinePaymentApprovePage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Approval view

__doc__ = ' Approval view\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.OnlinePaymentBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for payments.

__doc__ = 'A breadcrumb for payments.\n '
__module__ = 'waeup.kofa.applicants.browser'
title
class waeup.kofa.applicants.browser.OnlinePaymentDisplayFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

Page to view an online payment ticket

__doc__ = ' Page to view an online payment ticket\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 3
class waeup.kofa.applicants.browser.PassportImage(context, request)[source]

Bases: grok.components.View

Renders the passport image for applicants.

__doc__ = 'Renders the passport image for applicants.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
class waeup.kofa.applicants.browser.RefereeReportAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-form to add an referee report. This form is protected by a mandate.

__doc__ = 'Add-form to add an referee report. This form\n is protected by a mandate.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addRefereeReport
form_fields = <zope.formlib.form.FormFields object>
label = u'Add referee report'
pnav = 3
update()[source]
class waeup.kofa.applicants.browser.RefereeReportBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for referee reports.

__doc__ = 'A breadcrumb for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
title
class waeup.kofa.applicants.browser.RefereeReportDisplayFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

A display view for referee reports.

__doc__ = 'A display view for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
label = u'Referee Report'
pnav = 3
waeup.kofa.applicants.browser.handle_img_upload(upload, context, view)[source]

Handle upload of applicant image.

Returns True in case of success or False.

Please note that file pointer passed in (upload) most probably points to end of file when leaving this function.