diff -r c85f4d8eff8b -r c5655237f08a web/views/bookmark.py --- a/web/views/bookmark.py Thu Apr 09 14:32:18 2009 +0200 +++ b/web/views/bookmark.py Thu Apr 09 14:36:47 2009 +0200 @@ -11,16 +11,16 @@ from cubicweb import Unauthorized from cubicweb.selectors import implements from cubicweb.web.htmlwidgets import BoxWidget, BoxMenu, RawBoxItem -from cubicweb.web.action import Action +from cubicweb.web import action, formwidgets from cubicweb.web.box import UserRQLBoxTemplate from cubicweb.web.views.baseviews import PrimaryView from cubicweb.web.views.editforms import AutomaticEntityForm AutomaticEntityForm.rcategories.set_rtag('primary', 'path', 'subject', 'Bookmark') -AutomaticEntityForm.rwidgets.set_rtag('StringWidget', 'path', 'subject', 'Bookmark') +AutomaticEntityForm.rwidgets.set_rtag(formwidgets.TextInput, 'path', 'subject', 'Bookmark') -class FollowAction(Action): +class FollowAction(action.Action): id = 'follow' __select__ = implements('Bookmark')