web/views/basecontrollers.py
branchstable
changeset 4741 f9a176ebe090
parent 4739 64806b0f7431
child 4894 41c28ddca055
child 4911 898c35be5873
--- a/web/views/basecontrollers.py	Tue Mar 02 12:04:33 2010 +0100
+++ b/web/views/basecontrollers.py	Tue Mar 02 13:00:41 2010 +0100
@@ -375,12 +375,12 @@
             rset = self._exec(rql)
         else:
             rset = None
-        comp = self._cw.vreg[registry].select(compid, self._cw, rset=rset)
         if extraargs is None:
             extraargs = {}
         else: # we receive unicode keys which is not supported by the **syntax
             extraargs = dict((str(key), value)
                              for key, value in extraargs.items())
+        comp = self._cw.vreg[registry].select(compid, self._cw, rset=rset, **extraargs)
         extraargs = extraargs or {}
         return comp.render(**extraargs)