final api rtags
authorGraziella Toutoungis <graziella.toutoungis@logilab.fr>
Tue, 12 May 2009 16:02:08 +0200
changeset 21 9d11aa451c11
parent 20 2bed8286702a
child 22 1e908fb139bd
child 23 3ed55003b676
child 28 cc33abbef3da
final api rtags
views.py
--- a/views.py	Thu Apr 30 17:00:07 2009 +0200
+++ b/views.py	Tue May 12 16:02:08 2009 +0200
@@ -17,8 +17,8 @@
 from cubicweb.web.views import baseviews
 
 # displayed by the above component
-uicfg.rdisplay.tag_relation({}, ('*', 'applied_to', '*'), 'object')
-uicfg.rdisplay.tag_relation({}, ('*', 'applied_to', '*'), 'subject')
+uicfg.primaryview_section.tag_object_of(('*', 'applied_to', '*'), 'hidden')
+uicfg.primaryview_section.tag_subject_of(('*', 'applied_to', '*'), 'hidden')
 
 # keyword views ###############################################################