equal
deleted
inserted
replaced
354 extraargs = {} |
354 extraargs = {} |
355 else: # we receive unicode keys which is not supported by the **syntax |
355 else: # we receive unicode keys which is not supported by the **syntax |
356 extraargs = dict((str(key), value) |
356 extraargs = dict((str(key), value) |
357 for key, value in extraargs.items()) |
357 for key, value in extraargs.items()) |
358 extraargs = extraargs or {} |
358 extraargs = extraargs or {} |
359 print 'extraargs =', extraargs |
|
360 return self._set_content_type(comp, comp.dispatch(**extraargs)) |
359 return self._set_content_type(comp, comp.dispatch(**extraargs)) |
361 |
360 |
362 @check_pageid |
361 @check_pageid |
363 def js_user_callback(self, cbname): |
362 def js_user_callback(self, cbname): |
364 page_data = self.req.get_session_data(self.req.pageid, {}) |
363 page_data = self.req.get_session_data(self.req.pageid, {}) |