<class id="crad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::record_attr_definition" oils_persist:tablename="config.record_attr_definition" reporter:label="SVF Record Attribute Defintion" oils_persist:field_safe="true">
<fields oils_persist:primary="name">
- <field reporter:label="Name" name="name" reporter:datatype="id"/>
- <field reporter:label="Label" name="label" reporter:datatype="text"/>
+ <field reporter:label="Name" name="name" reporter:datatype="id" reporter:selector="label" oils_obj:required="true"/>
+ <field reporter:label="Label" name="label" reporter:datatype="text" oils_obj:required="true"/>
<field reporter:label="Filter?" name="filter" reporter:datatype="bool"/>
<field reporter:label="Sorter?" name="sorter" reporter:datatype="bool"/>
<field reporter:label="MARC Tag" name="tag" reporter:datatype="text"/>
<class id="ccvm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::coded_value_map" oils_persist:tablename="config.coded_value_map" reporter:label="SVF Record Attribute Coded Value Map" oils_persist:field_safe="true">
<fields oils_persist:primary="id" oils_persist:sequence="config.coded_value_map_id_seq">
- <field reporter:label="ID" name="id" reporter:datatype="id"/>
- <field reporter:label="SVF Attribute" name="ctype" reporter:datatype="link"/>
- <field reporter:label="Code" name="code" reporter:datatype="text"/>
- <field reporter:label="Value" name="value" reporter:datatype="text"/>
+ <field reporter:label="ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
+ <field reporter:label="SVF Attribute" name="ctype" reporter:datatype="link" oils_obj:required="true"/>
+ <field reporter:label="Code" name="code" reporter:datatype="text" oils_obj:required="true"/>
+ <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true"/>
<field reporter:label="Description" name="description" reporter:datatype="text"/>
</fields>
<links>