예제 #1
0
    def addable_actions(self):
        rule = aq_inner(self.context)

        info = []
        for element in utils.allAvailableActions(rule.event):
            info.append({
                'title': element.title,
                'description': element.description,
                'addview': element.addview})

        return info
예제 #2
0
    def addable_actions(self):
        rule = aq_inner(self.context)

        info = []
        for element in utils.allAvailableActions(rule.event):
            info.append({'title': element.title,
                         'description': element.description,
                         'addview': element.addview,
                        })

        return info
 def available_actions(self):
     return utils.allAvailableActions(IActionSucceededEvent)
예제 #4
0
 def available_actions(self):
     return utils.allAvailableActions(IActionSucceededEvent)