Ignore:
Timestamp:
23 Apr 2012, 05:18:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Use correct Interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r8247 r8255  
    2323from waeup.kofa.browser.layout import KofaPage, UtilityView
    2424from waeup.kofa.accesscodes import create_accesscode
    25 from waeup.kofa.students.interfaces import IStudentOnlinePayment
     25from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment
    2626from waeup.kofa.students.browser import write_log_message
    2727from waeup.kofa.students.viewlets import RequestCallbackActionButton
     
    8484class InterswitchActionButton(RequestCallbackActionButton):
    8585    grok.order(2)
     86    grok.context(ICustomStudentOnlinePayment)
    8687    icon = 'actionicon_pay.png'
    8788    text = _('CollegePAY')
     
    9697class InterswitchRequestCallbackActionButton(RequestCallbackActionButton):
    9798    grok.order(3)
     99    grok.context(ICustomStudentOnlinePayment)
    98100    icon = 'actionicon_call.png'
    99101    text = _('Request CollegePAY callback')
     
    112114class InterswitchRequestWebserviceActionButton(RequestCallbackActionButton):
    113115    grok.order(4)
     116    grok.context(ICustomStudentOnlinePayment)
    114117    icon = 'actionicon_call.png'
    115118    text = _('Request CollegePAY webservice')
     
    121124    CollegePAY payment gateway.
    122125    """
    123     grok.context(IStudentOnlinePayment)
     126    grok.context(ICustomStudentOnlinePayment)
    124127    grok.name('goto_interswitch')
    125128    grok.template('goto_interswitch')
     
    175178    """ Callback view for the CollegePAY gateway
    176179    """
    177     grok.context(IStudentOnlinePayment)
     180    grok.context(ICustomStudentOnlinePayment)
    178181    grok.name('isw_callback')
    179182    grok.require('waeup.payStudent')
     
    245248    """ Request webservice view for the CollegePAY gateway
    246249    """
    247     grok.context(IStudentOnlinePayment)
     250    grok.context(ICustomStudentOnlinePayment)
    248251    grok.name('request_webservice')
    249252    grok.require('waeup.payStudent')
Note: See TracChangeset for help on using the changeset viewer.