Example #1
0
    def update(self):
        for sector in aq_chain(aq_inner(self.context)):
            if ISector.providedBy(sector):
                break
        else:
            sector = aq_inner(self.context)

        self.action_url = "%s/@@version-command" % sector.absolute_url()
        self.surveys = getSurveys(self.context)
Example #2
0
    def update(self):
        for sector in aq_chain(aq_inner(self.context)):
            if ISector.providedBy(sector):
                break
        else:
            sector = aq_inner(self.context)

        self.action_url = "%s/@@version-command" % sector.absolute_url()
        self.surveys = getSurveys(self.context)
Example #3
0
 def getSurveys(self, context):
     from euphorie.content.sector import getSurveys
     return getSurveys(context)
 def getSurveys(self, context):
     from euphorie.content.sector import getSurveys
     return getSurveys(context)
 def getSurveys(self, context):
     return getSurveys(context)