equal
deleted
inserted
replaced
115 params = dicts.merge(params, new_params) |
115 params = dicts.merge(params, new_params) |
116 |
116 |
117 super(View, self).__init__(params=params) |
117 super(View, self).__init__(params=params) |
118 |
118 |
119 # register the role with the group_view |
119 # register the role with the group_view |
120 params['group_view'].registerRole(params['module_name'], self) |
120 self._params['group_view'].registerRole(self._params['module_name'], self) |
121 |
121 |
122 # create and store the special form for invited users |
122 # create and store the special form for invited users |
123 dynafields = [ |
123 dynafields = [ |
124 {'name': 'link_id', |
124 {'name': 'link_id', |
125 'base': forms.CharField, |
125 'base': forms.CharField, |
138 |
138 |
139 invited_create_form = dynaform.extendDynaForm( |
139 invited_create_form = dynaform.extendDynaForm( |
140 dynaform = self._params['create_form'], |
140 dynaform = self._params['create_form'], |
141 dynaproperties = dynaproperties) |
141 dynaproperties = dynaproperties) |
142 |
142 |
143 params['invited_create_form'] = invited_create_form |
143 self._params['invited_create_form'] = invited_create_form |
144 |
144 |
145 def _editPost(self, request, entity, fields): |
145 def _editPost(self, request, entity, fields): |
146 """See base.View._editPost(). |
146 """See base.View._editPost(). |
147 """ |
147 """ |
148 |
148 |