web/views/cwproperties.py
branchtls-sprint
changeset 1533 bcd4bfff658b
parent 1507 525965b1c23a
child 1537 788b5ca792bd
--- a/web/views/cwproperties.py	Wed Apr 29 09:27:03 2009 +0200
+++ b/web/views/cwproperties.py	Wed Apr 29 10:29:03 2009 +0200
@@ -24,6 +24,9 @@
 
 _ = unicode
 
+uicfg.rfields.tag_relation(PropertyKeyField, ('CWProperty', 'pkey', '*'), 'subject')
+uicfg.rfields.tag_relation(PropertyValueField, ('CWProperty', 'value', '*'), 'subject')
+
 # some string we want to be internationalizable for nicer display of eproperty
 # groups
 _('navigation')
@@ -324,6 +327,3 @@
                 wdg.attrs.setdefault('size', 3)
         self.widget = wdg
 
-uicfg.rfields.set_rtag(PropertyKeyField, 'pkey', 'subject', 'CWProperty')
-uicfg.rfields.set_rtag(PropertyValueField, 'value', 'subject', 'CWProperty')
-