100 |
100 |
101 primaryview_section = RelationTags('primaryview_section', |
101 primaryview_section = RelationTags('primaryview_section', |
102 init_primaryview_section, |
102 init_primaryview_section, |
103 frozenset(('attributes', 'relations', |
103 frozenset(('attributes', 'relations', |
104 'sideboxes', 'hidden'))) |
104 'sideboxes', 'hidden'))) |
105 for rtype in ('eid', 'creation_date', 'modification_date', |
105 for rtype in ('eid', 'creation_date', 'modification_date', 'cwuri', |
106 'is', 'is_instance_of', 'identity', |
106 'is', 'is_instance_of', 'identity', |
107 'owned_by', 'created_by', |
107 'owned_by', 'created_by', |
108 'in_state', 'wf_info_for', 'require_permission', |
108 'in_state', 'wf_info_for', 'require_permission', |
109 'from_entity', 'to_entity', |
109 'from_entity', 'to_entity', |
110 'see_also'): |
110 'see_also'): |
204 # use primary and not generated for eid since it has to be an hidden |
204 # use primary and not generated for eid since it has to be an hidden |
205 autoform_section.tag_attribute(('*', 'eid'), 'primary') |
205 autoform_section.tag_attribute(('*', 'eid'), 'primary') |
206 autoform_section.tag_attribute(('*', 'description'), 'secondary') |
206 autoform_section.tag_attribute(('*', 'description'), 'secondary') |
207 autoform_section.tag_attribute(('*', 'creation_date'), 'metadata') |
207 autoform_section.tag_attribute(('*', 'creation_date'), 'metadata') |
208 autoform_section.tag_attribute(('*', 'modification_date'), 'metadata') |
208 autoform_section.tag_attribute(('*', 'modification_date'), 'metadata') |
|
209 autoform_section.tag_attribute(('*', 'cwuri'), 'metadata') |
209 autoform_section.tag_attribute(('*', 'has_text'), 'generated') |
210 autoform_section.tag_attribute(('*', 'has_text'), 'generated') |
210 autoform_section.tag_subject_of(('*', 'in_state', '*'), 'primary') |
211 autoform_section.tag_subject_of(('*', 'in_state', '*'), 'primary') |
211 autoform_section.tag_subject_of(('*', 'owned_by', '*'), 'metadata') |
212 autoform_section.tag_subject_of(('*', 'owned_by', '*'), 'metadata') |
212 autoform_section.tag_subject_of(('*', 'created_by', '*'), 'metadata') |
213 autoform_section.tag_subject_of(('*', 'created_by', '*'), 'metadata') |
213 autoform_section.tag_subject_of(('*', 'is', '*'), 'generated') |
214 autoform_section.tag_subject_of(('*', 'is', '*'), 'generated') |