Ignore:
Timestamp:
28 Mar 2012, 20:50:45 (12 years ago)
Author:
Henrik Bettermann
Message:

Neutralize callback simulation components in base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.custom/trunk/src/waeup/custom/students/browser.py

    r7995 r7998  
    2424    StudentPersonalDisplayFormPage, StudentPersonalManageFormPage,
    2525    StudentClearanceManageFormPage, StudentClearanceEditFormPage,
    26     StudentClearanceDisplayFormPage,
     26    StudentClearanceDisplayFormPage, OnlinePaymentCallbackPage,
    2727    ExportPDFClearanceSlipPage)
    2828from waeup.kofa.students.viewlets import RequestCallbackActionButton
     
    3232    )
    3333from waeup.custom.interfaces import MessageFactory as _
     34
     35class RequestCallbackActionButton(RequestCallbackActionButton):
     36    """ Do not display the base package callback button in custom pages.
     37    """
     38    @property
     39    def target_url(self):
     40        return ''
     41
     42class OnlinePaymentCallbackPage(OnlinePaymentCallbackPage):
     43    """ Neutralize callback simulation view
     44    """
     45    def update(self):
     46        return
    3447
    3548class StudentPersonalDisplayFormPage(StudentPersonalDisplayFormPage):
     
    106119        return form_fields
    107120
    108 class RequestCallbackActionButton(RequestCallbackActionButton):
    109     """ Do not display the base package callback button in custom pages.
    110     """
    111 
    112     @property
    113     def target_url(self):
    114         return ''
Note: See TracChangeset for help on using the changeset viewer.