equal
deleted
inserted
replaced
113 self.errors = [] |
113 self.errors = [] |
114 self.relations_rql = [] |
114 self.relations_rql = [] |
115 form = req.form |
115 form = req.form |
116 # so we're able to know the main entity from the repository side |
116 # so we're able to know the main entity from the repository side |
117 if '__maineid' in form: |
117 if '__maineid' in form: |
118 req.set_shared_data('__maineid', form['__maineid'], querydata=True) |
118 req.set_shared_data('__maineid', form['__maineid'], txdata=True) |
119 # no specific action, generic edition |
119 # no specific action, generic edition |
120 self._to_create = req.data['eidmap'] = {} |
120 self._to_create = req.data['eidmap'] = {} |
121 self._pending_fields = req.data['pendingfields'] = set() |
121 self._pending_fields = req.data['pendingfields'] = set() |
122 try: |
122 try: |
123 methodname = req.form.pop('__method', None) |
123 methodname = req.form.pop('__method', None) |