Esempio n. 1
0
    def init(self):
        super(IndicoRepresentationPlugin, self).init()
        #inputs = FieldInputs.getAvailableInputs()
        #inputs[DynamicDropdownInput.getId()] = DynamicDropdownInput
        taggedValue  = IRegFormGeneralFieldFossil.get('getValues').getTaggedValue('result')
        taggedValue["indicorepr.reprfields.DynamicDropdownInput"]=IRegFormRadioGroupInputFieldFossil

        blueprint.add_url_rule('/event/<confId>/reprtypes','reprtypes-read', RHRepresentationTypes, methods=('GET',))

        pages = [
            WPRegistrationFormDisplay,
            WPRegistrationFormModify,
            WPConfModifRegFormPreview,
            WPRegistrationForm,
            WPRegistrantModification]
        for page in pages:
            self.inject_js('indicorepr_js',page)
            self.inject_css('indicorepr_css',page)

        pages = [WPConfModifAC]
        for page in pages:
            self.inject_js('indicoaffiliation_js', page)
            self.inject_css('indicoaffiliation_css', page)

        endpointMap["affiliation"]=importModule("indicorepr.rpc.services")
        endpointMap["ecosoc"]=importModule("indicorepr.rpc.ecosoc")
        self.connect(signals.event.created,self.conf_created)
Esempio n. 2
0
    def init(self):
        super(IndicoAffiliationPlugin, self).init()

        # Inject the JS and CSS, should be in limited pages
        pages = [WPConfModifAC]
        for page in pages:
            self.inject_js('indicoaffiliation_js', page)
            self.inject_css('indicoaffiliation_css', page)

        endpointMap["affiliation"]=importModule("indicoaffiliation.rpc.services")
        endpointMap["ecosoc"]=importModule('MaKaC.services.implementation.ecosoc')
Esempio n. 3
0
    def init(self):
        super(IndicoAffiliationPlugin, self).init()

        # Inject the JS and CSS, should be in limited pages
        pages = [WPConfModifAC]
        for page in pages:
            self.inject_js('indicoaffiliation_js', page)
            self.inject_css('indicoaffiliation_css', page)

        endpointMap["affiliation"] = importModule(
            "indicoaffiliation.rpc.services")
        endpointMap["ecosoc"] = importModule(
            'MaKaC.services.implementation.ecosoc')