web/views/basecontrollers.py
changeset 5177 395e1ff018ae
parent 5174 78438ad513ca
parent 5157 1202e6565aff
child 5201 2b4267157f85
equal deleted inserted replaced
5176:ddd5219d7eef 5177:395e1ff018ae
   408         #except NoSelectableObject:
   408         #except NoSelectableObject:
   409         #    raise RemoteCallFailed('unselectable')
   409         #    raise RemoteCallFailed('unselectable')
   410         extraargs = extraargs or {}
   410         extraargs = extraargs or {}
   411         stream = comp.set_stream()
   411         stream = comp.set_stream()
   412         comp.render(**extraargs)
   412         comp.render(**extraargs)
       
   413         # XXX why not _call_view ?
   413         extresources = self._cw.html_headers.getvalue(skiphead=True)
   414         extresources = self._cw.html_headers.getvalue(skiphead=True)
   414         if extresources:
   415         if extresources:
   415             stream.write(u'<div class="ajaxHtmlHead">\n')
   416             stream.write(u'<div class="ajaxHtmlHead">\n')
   416             stream.write(extresources)
   417             stream.write(extresources)
   417             stream.write(u'</div>\n')
   418             stream.write(u'</div>\n')