web/views/cwproperties.py
branchtls-sprint
changeset 1721 694f6a50e138
parent 1670 41deb5175729
child 1739 78b0819162a8
equal deleted inserted replaced
1720:14c9a0a1aca1 1721:694f6a50e138
   337             elif pdef['type'] in ('Float', 'Int'):
   337             elif pdef['type'] in ('Float', 'Int'):
   338                 wdg.attrs.setdefault('size', 3)
   338                 wdg.attrs.setdefault('size', 3)
   339         self.widget = wdg
   339         self.widget = wdg
   340 
   340 
   341 
   341 
   342 uicfg.rfields.tag_relation(PropertyKeyField, ('CWProperty', 'pkey', '*'), 'subject')
   342 uicfg.rfields.tag_attribute('CWProperty', 'pkey', PropertyKeyField)
   343 uicfg.rfields.tag_relation(PropertyValueField, ('CWProperty', 'value', '*'), 'subject')
   343 uicfg.rfields.tag_attribute('CWProperty', 'value', PropertyValueField)