cubicweb #370576 use uicfg for section "relation" in generic forms [rejected]
uicfg should be used to tell which relations should appear in the "relation" frame in generic forms and which options appear in the dropdown list.
For example, when trying to add a relation Ticket "see_also" Ticket, it could look like:
uicfg.the_relation_frame_in_forms.tag_subject_of( ('Ticket', 'some_relation', '*'), 'hidden') uicfg.the_relation_frame_in_forms_list.tag_subject_of( ('Ticket', 'see_also', 'Ticket'), 'Any O WHERE O concerns P, S concerns P')
the latter is currently done with vocabularies, is it better ?
|closed by||<not specified>|