Esempio n. 1
0
    def _handle_form_data(self):

        form_data = self.stack_node.form_data
        query_parameters = form_data["query_parameters"]
        ItemFieldsController._handle_form_data(self)
        form_data["query_parameters"] = query_parameters

        source = self.query_parameters_source
        query_parameters.update(type=source.get("type"),
                                order=source.get("order"),
                                filter=source.get("filter"))
        for key, value in source.iteritems():
            if key.startswith("filter_"):
                query_parameters[key] = value
Esempio n. 2
0
 def _handle_form_data(self):
     ItemFieldsController._handle_form_data(self)
     form_data = self.stack_node.form_data
     form_data["matching_items"] = self.get_matching_items_parameters()
 def _handle_form_data(self):
     ItemFieldsController._handle_form_data(self)
     form_data = self.stack_node.form_data
     form_data["parameters"] = self.get_user_view_parameters()