diff -r b7cf0ebdd8b6 -r b5aa030bb2f9 web/htmlwidgets.py --- a/web/htmlwidgets.py Tue Dec 22 13:13:53 2009 +0100 +++ b/web/htmlwidgets.py Tue Dec 22 13:14:34 2009 +0100 @@ -288,8 +288,8 @@ When using remember to include the required css and js with: - self.req.add_js('jquery.tablesorter.js') - self.req.add_css(('cubicweb.tablesorter.css', 'cubicweb.tableview.css')) + self._cw.add_js('jquery.tablesorter.js') + self._cw.add_css(('cubicweb.tablesorter.css', 'cubicweb.tableview.css')) """ highlight = "onmouseover=\"addElementClass(this, 'highlighted');\" " \ "onmouseout=\"removeElementClass(this, 'highlighted');\""