web/views/bookmark.py
branchtls-sprint
changeset 1321 c5655237f08a
parent 1153 6a7636b32a97
child 1498 2c6eec0b46b9
--- 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')