web/views/bookmark.py
branchtls-sprint
changeset 1533 bcd4bfff658b
parent 1498 2c6eec0b46b9
child 1639 375c857aa0f5
--- a/web/views/bookmark.py	Wed Apr 29 09:27:03 2009 +0200
+++ b/web/views/bookmark.py	Wed Apr 29 10:29:03 2009 +0200
@@ -14,8 +14,8 @@
 from cubicweb.web import uicfg, action, box, formwidgets
 from cubicweb.web.views.baseviews import PrimaryView
 
-uicfg.rcategories.set_rtag('primary', 'path', 'subject', 'Bookmark')
-uicfg.rwidgets.set_rtag(formwidgets.TextInput, 'path', 'subject', 'Bookmark')
+uicfg.rcategories.tag_relation('primary', ('Bookmark', 'path', '*'), 'subject')
+uicfg.rwidgets.tag_relation(formwidgets.TextInput, ('Bookmark', 'path', '*'), 'subject')
 
 
 class FollowAction(action.Action):