<?xml version="1.0" encoding="UTF-8"?>
<viewset name="Fish Views" i18nresname="views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <views>
        
         <view name="AccessionItems"
              class="edu.ku.brc.specify.datamodel.CollectionObject"
              usedefbusrule="false"
              resourcelabels="false">
              <desc><![CDATA[The Collection Object Subform for Accessions.]]></desc>
              <altviews>
                  <altview name="COS View"       viewdef="AccessionItems" mode="view"/>
                  <altview name="COS Edit"       viewdef="AccessionItems" mode="edit" default="true"/>
                  <altview name="COS Table Edit" viewdef="AccessionItems Table" mode="edit"/>
                  <altview name="COS Table View" viewdef="AccessionItems Table" mode="view"/>
              </altviews>      
         </view>

        <view name="CollectingEvent"
            class="edu.ku.brc.specify.datamodel.CollectingEvent"
            busrules="edu.ku.brc.specify.datamodel.busrules.CollectingEventBusRules"
            isinternal="false"
            resourcelabels="false">
            <desc><![CDATA[CollectingEvent Form]]></desc>
            <altviews>
                <altview name="CollectingEvent View" viewdef="CollectingEvent" mode="view" default="true"/>
                <altview name="CollectingEvent Edit" viewdef="CollectingEvent" mode="edit"/>
            </altviews>
        </view>
        
        <view name="CollectingEventAttribute"
            class="edu.ku.brc.specify.datamodel.CollectingEventAttribute"
            resourcelabels="false">
            <desc><![CDATA[CollectingEventAttribute Form]]></desc>
            <altviews>
                <altview name="CollectingEventAttribute View" viewdef="CollectingEventAttribute" mode="view" default="true"/>
                <altview name="CollectingEventAttribute Edit" viewdef="CollectingEventAttribute" mode="edit"/>
            </altviews>
        </view>
        
        <view name="CollectionObject"
            class="edu.ku.brc.specify.datamodel.CollectionObject"
            busrules="edu.ku.brc.specify.datamodel.busrules.CollectionObjectBusRules"
            isinternal="false"
            resourcelabels="false">
            <desc><![CDATA[The Collection Object form.]]></desc>
            <altviews>
                <altview name="Collection Object View" viewdef="Collection Object" mode="view"/>
                <altview name="Collection Object Edit" viewdef="Collection Object" mode="edit" default="true"/>
            </altviews>
        </view>
        
         <view name="CollectionObjectSub"
              class="edu.ku.brc.specify.datamodel.CollectionObject"
              usedefbusrule="false"
              resourcelabels="false">
              <desc><![CDATA[The Collection Object Subform for Accessions.]]></desc>
              <altviews>
                  <altview name="COS View"       viewdef="CollectionObjectSub" mode="view"/>
                  <altview name="COS Edit"       viewdef="CollectionObjectSub" mode="edit" default="true"/>
                  <!-- <altview name="COS Table Edit" viewdef="CollectionObjectSub Table" mode="edit"/>
                  <altview name="COS Table View" viewdef="CollectionObjectSub Table" mode="view"/>  -->
              </altviews>      
         </view>

        <view name="Determination"
              class="edu.ku.brc.specify.datamodel.Determination"
              busrules="edu.ku.brc.specify.datamodel.busrules.DeterminationBusRules" 
              isexternal="true"
              resourcelabels="false">
            <desc><![CDATA[Subform within the Collection Object form.]]></desc>
            <altviews>
                <altview name="Determination View"       viewdef="Determination" mode="view"/>
                <altview name="Determination Edit"       viewdef="Determination" mode="edit" default="true"/>
                <altview name="Determination Table View" viewdef="Determination Table" mode="view"/>
                <altview name="Determination Table Edit" viewdef="Determination Table" mode="edit"/>
            </altviews>
        </view>
        
        <view name="DeterminationViewOnly"
            class="edu.ku.brc.specify.datamodel.Determination"
            isexternal="true"
            resourcelabels="false">
            <desc><![CDATA[Subform within the Collection Object form.]]></desc>
            <altviews>
                <altview name="Determination View"       viewdef="Determination" mode="view" default="true"/>
            </altviews>
        </view>
        
        <view name="FishAttributes"
            class="edu.ku.brc.specify.datamodel.CollectionObjectAttribute"
            resourcelabels="false">
            <desc><![CDATA[Subform within the Collection Object form.]]></desc>
            <altviews>
                <altview name="FishAttributes View" viewdef="FishAttributes" mode="view"/>
                <altview name="FishAttributes Edit" viewdef="FishAttributes" mode="edit" default="true"/>
            </altviews>
        </view>
        
        <view name="Locality"
            class="edu.ku.brc.specify.datamodel.Locality"
            busrules="edu.ku.brc.specify.datamodel.busrules.LocalityBusRules"
            isinternal="false"
            resourcelabels="false">
            <desc><![CDATA[Locality form.]]></desc>
            <altviews>
                <altview name="Locality View" viewdef="Locality" mode="view"/>
                <altview name="Locality Edit" viewdef="Locality" mode="edit" default="true"/>
            </altviews>
        </view>

        <view name="Preparation"
              class="edu.ku.brc.specify.datamodel.Preparation"
              busrules="edu.ku.brc.specify.datamodel.busrules.PreparationBusRules"
               resourcelabels="false">
            <desc><![CDATA[Subform within the Preparation form.]]></desc>
            <altviews>
                <altview name="Preparation Table View" viewdef="Preparation Table" mode="view"/>
                <altview name="Preparation Table Edit" viewdef="Preparation Table" mode="edit"/>
                <altview name="Preparation View" viewdef="Preparation" mode="view"/>
                <altview name="Preparation Edit" viewdef="Preparation" mode="edit" default="true"/>
            </altviews>
        </view>

        <view name="Container"
            class="edu.ku.brc.specify.datamodel.Container"  
            isinternal="false"
            busrules="edu.ku.brc.specify.datamodel.busrules.ContainerBusRules">
            <desc><![CDATA[Conservation Description.]]></desc>
            <altviews>
                <altview name="Container View" viewdef="Container" mode="view" default="true"/>
                <altview name="Container Edit" viewdef="Container" mode="edit" />
            </altviews>
        </view>
        
        <view name="ContainerBrief"
             class="edu.ku.brc.specify.datamodel.Container"  
             isinternal="true"
             busrules="edu.ku.brc.specify.datamodel.busrules.ContainerBusRules">
            <desc><![CDATA[Conservation Description.]]></desc>
            <altviews>
                <altview name="ContainerBrief View" viewdef="ContainerBrief" mode="view" default="true"/>
                <altview name="ContainerBrief Edit" viewdef="ContainerBrief" mode="edit" />
            </altviews>
        </view>
        
        <view name="ContainerBriefTable"
            class="edu.ku.brc.specify.datamodel.Container"  
             isinternal="true">
            <desc><![CDATA[Conservation Description.]]></desc>
            <altviews>
                <altview name="ContainerBrief Table View" viewdef="ContainerBrief Table" mode="view" default="true"/>
                <altview name="ContainerBrief Table Edit" viewdef="ContainerBrief Table" mode="edit" />
            </altviews>
        </view>
        
    </views>  

    <viewdefs>
        <viewdef
            type="form"
            name="Collection Object"
            class="edu.ku.brc.specify.datamodel.CollectionObject"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[The Collection Object form.]]></desc>
            <enableRules/>
            
            <columnDef>99px,2px,300px,2px,89px,2px,50px,2px,50px,2px,70px,2px,50px,2px,50px,2px,50px,2px,50px,2px,50px,2px,50px,p:g</columnDef>
            <!--<columnDef os="lnx">115px,2px,195px,5px,125px,2px,210px,5px,125px,2px,131px,15px,p:g</columnDef>
            <columnDef os="mac">130px,2px,215px,5px,128px,2px,260px,5px,138px,2px,145px,15px,p:g</columnDef>
            <columnDef os="exp">p,2px,min(p;250px),5px:g,p,2px,p:g,5px:g,p,2px,p:g(2),p,p:g</columnDef>-->
            <rowDef auto="true" cell="p" sep="2px"/>

            <rows>
                <row>
                    <cell type="label" labelfor="1"/>
                    <cell type="field" id="1" name="catalogNumber" uitype="formattedtext"/>
                    <cell type="label" labelfor="14"/>
                    <cell type="field" id="14" name="altCatalogNumber" colspan="9" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="4"/>
                    <cell type="field" id="4" name="cataloger" uitype="querycbx" initialize="name=Agent;title=Catalog Agent" isrequired="true"/>
                    <cell type="label" labelfor="t2"/>
                    <cell type="field" id="t2" name="text2" colspan="3" uitype="text"/> <!-- P-Group -->
                 	<cell type="label" labelfor="t1"/>
                    <cell type="field" id="t1" name="text1" colspan="3" uitype="text"/> <!-- Other Number -->
                </row>
                <row>
					<cell type="label" labelfor="5"/>
                    <cell type="field" id="5" name="this" uitype="plugin" initialize="name=PartialDateUI;df=catalogedDate;tp=catalogedDatePrecision" uifieldformatter="Date"/>
                    <cell type="label" labelfor="t6"/>
                    <cell type="field" id="t6" name="text6" colspan="3" uitype="text"/> <!-- Former Nr -->
					<cell type="label" labelfor="t7"/>
                    <cell type="field" id="t7" name="text7" colspan="3" uitype="text"/> <!-- Former P -->
                </row>
				<row>					
					<cell type="label" labelfor="jrndate"/>
                    <cell type="field" id="jrndate" name="this" uitype="plugin" colspan="1" initialize="name=PartialDateUI;df=date1;tp=date1Precision" uifieldformatter="Date"/>
                    
                    <cell type="label" labelfor="t3"/>
                    <cell type="field" id="t3" name="text3" colspan="3" uitype="text"/> <!-- Journal Number -->					
					
                    <cell type="label" labelfor="reservedtxt"/>
                    <cell type="field" id="reservedtxt" name="reservedText" colspan="3" uitype="text"/> <!-- Tilvækst -->
				</row>
				<row>
					<cell type="label" labelfor="3"/>
                    <cell type="field" id="3" name="accession" colspan="1" uitype="querycbx" initialize="name=AccessionCO;title=AccessionCO" isrequired="false"/>
                    <cell type="label" labelfor="t5"/>
                    <cell type="field" id="t5" name="text5" colspan="5" uitype="text"/> <!-- Label (Etiket) --> 
                    <cell type="field" id="yn4" name="yesNo4" colspan="3" uitype="checkbox" initialize="editable=true"/>
				</row>
				<row>
					<cell type="label" labelfor="t8"/>
                    <cell type="field" id="t8" name="text8" colspan="1" uitype="text"/> <!-- Original Determination -->
					<cell type="label" labelfor="t4"/>
                    <cell type="field" id="t4" name="text4" colspan="9" uitype="text"/> <!-- Valid As -->
					
				</row>
				<row>
                    <cell type="label" labelfor="rem"/>
                    <cell type="field" id="rem" name="remarks" uitype="textareabrief" rows="3" colspan="1"/>
                    <cell type="label" labelfor="34"/>
                    <cell type="field" id="34" name="container" uitype="querycbx" initialize="name=Container" colspan="9"/>
                </row>
				<row>
                    <cell type="label" labelfor="yn1"/>
                    <cell type="field" id="yn1" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
				</row>
                <!--<cell type="label" labelfor="pnr"  colspan="1"/>
                    <cell type="field" id="pnr" name="projectNumber" colspan="3" uitype="text"/>
					<cell type="label" labelfor="fnr"/>
                    <cell type="field" id="fnr" name="fieldNumber" colspan="1" uitype="text"/>
                </row>
                <row>
					<cell type="subview" viewname="OtherIdentifiers" id="44" name="otherIdentifiers" defaulttype="table" colspan="9" rows="5"/>
                </row>-->
                <row>
                    <cell type="subview" viewname="Determination" id="6" name="determinations" colspan="23" />
                </row>
                <row>
                    <cell type="separator" label="Collecting Event" colspan="15"/>
                </row>
                <row>
					<!--<cell type="subview" viewname="CollectingEvent" id="collevent" name="collectingEvents" colspan="23" />-->
                    <cell type="label" labelfor="7"/>
                    <cell type="field" id="7" name="collectingEvent" uitype="querycbx" initialize="name=CollectingEvent;clonebtn=true" colspan="15"/>
                </row>
                <row>
                    <cell type="subview" viewname="Preparation" id="8" name="preparations" defaulttype="table" colspan="23" rows="4"/>
                </row>
                <row>
                    <cell type="subview" id="15" viewname="FishAttributes" name="collectionObjectAttribute" colspan="23"/>
                </row>
                <row>
                    <cell type="separator" label="Attachments" colspan="15"/>
                </row>
                <row>
                    <cell type="subview" id="attachments" viewname="ObjectAttachment" name="collectionObjectAttachments" colspan="8" initialize="icon=CollectionObjectAttachment" defaulttype="icon"/>
                </row>
                <row>
                    <cell type="separator" label="" colspan="15"/>
                </row>
                <row>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true"  uifieldformatter="Agent"/>
				</row>
				<row>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
				</row>
				<row>
                    <cell type="panel" id="116" name="outerPanel" coldef="p,6px,p,f:p:g" rowdef="p,4px,p" colspan="9">
                        <rows>
                            <row>
                                <cell type="field" id="113" uitype="checkbox" name="generateLabelChk" label="Generate Label on Save" ignore="true" default="true" initialize="visible=false"/>
                                <cell type="command" id="114" name="generateLabelBtn" label="Generate Label" ignore="true" default="true" initialize="visible=false;align=right"/>
                            </row>
                        </rows>
                    </cell>
                </row>
                <row>
                    <cell type="label" labelfor="guid"/>
                    <cell type="field" id="guid" name="guid" uitype="text" colspan="5" readonly="true"/>
                </row>
                <!--<row>
                    <cell type="label" label="RELNAMEHERE:" initialize="align=right;"/>
                    <cell type="field" id="colrel" uitype="plugin" name="this" initialize="name=CollectionRelOneToManyPlugin;relname=xxxx;" colspan="9"/>
                </row>
                <row>
                    <cell type="label" label="RELNAMEHERE:" initialize="align=right;"/>
                    <cell type="field" id="colrel" uitype="plugin" name="this" initialize="name=ColRelTypePlugin;relname=xxxx;"/>
                </row>
                <row>
                    <cell type="label" labelfor="appr"/>
                    <cell type="field" id="appr" name="appraisal" uitype="querycbx" initialize="name=Appraisal;title=Appraisal" isrequired="false"/>
                </row>
                <row>
                    <cell type="label" labelfor="avail"/>
                    <cell type="field" id="avail" name="availability" uitype="text"/>
                    <cell type="label" labelfor="cdv"/>
                    <cell type="field" id="cdv" name="catalogedDateVerbatim" uitype="text"/>
                    <cell type="label" labelfor="ca"/>
                    <cell type="field" id="ca" name="countAmt" uitype="text"/>
                </row>
                <row>
                    <cell type="subview" id="7" name="collectionObjectCitations" viewname="CollectionObjectCitation" colspan="15"/>                    
                </row>
                <row>
                    <cell type="subview" viewname="ConservDescription" id="cd" name="conservDescriptions" initialize="btn=true"/>
                </row>
                <row>
                    <cell type="subview" viewname="DNASequence" id="6" name="dnaSequences" initialize="btn=true"/>
                </row>
                <row>
                    <cell type="label" labelfor="fnp"/>
                    <cell type="field" id="fnp" name="fieldNotebookPage" uitype="querycbx" initialize="name=FieldNotebookPage;title=FieldNotebookPage" isrequired="false"/>
                </row>
                <row>
                    <cell type="label" labelfor="desc"/>
                    <cell type="field" id="desc" name="description" uitype="text"/>
                    <cell type="label" labelfor="fn"/>
                    <cell type="field" id="fn" name="fieldNumber" uitype="text"/>
                    <cell type="label" labelfor="guid"/>
                    <cell type="field" id="guid" name="guid" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="id"/>
                    <cell type="field" id="id" name="inventoryDate" uitype="formattedtext" uifieldformatter="Date"/>
                    <cell type="label" labelfor="mod"/>
                    <cell type="field" id="mod" name="modifier" uitype="text"/>
                    <cell type="label" labelfor="name"/>
                    <cell type="field" id="name" name="name" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="not"/>
                    <cell type="field" id="not" name="notifications" uitype="text"/>
                    <cell type="label" labelfor="n1"/>
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                    <cell type="label" labelfor="n2"/>
                    <cell type="field" id="n2" name="number2" uitype="text"/>
                </row>
                <row>
                    <cell type="subview" viewname="OtherIdentifiers" id="44" name="otherIdentifiers" defaulttype="table" colspan="15" rows="3"/>
                </row>
                <row>
                    <cell type="subview" viewname="Project" id="proj" name="projects" initialize="btn=true"/>
                </row>
                <row>
                    <cell type="label" labelfor="oj"/>
                    <cell type="field" id="oj" name="objectCondition" uitype="text"/>
                    <cell type="label" labelfor="rest"/>
                    <cell type="field" id="rest" name="restrictions" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="rem"/>
                    <cell type="field" id="rem" name="remarks" uitype="textareabrief" rows="2" colspan="10"/>
                </row>
                <row>
                    <cell type="subview" viewname="SubPaleoContext" id="9" name="paleoContext" defaulttype="table" colspan="12"/>
                </row> 
                <row>
                    <cell type="label" labelfor="t1"/>
                    <cell type="field" id="t1" name="text1" uitype="text"/>
                    <cell type="label" labelfor="t2"/>
                    <cell type="field" id="t2" name="text2" uitype="text"/>
                    <cell type="label" labelfor="n2"/>
                    <cell type="field" id="n2" name="totalValue" uitype="text"/>
                </row>
                <row>
                    <cell type="subview" viewname="TreatmentEvent" id="te" name="treatmentEvents" initialize="btn=true"/>
                </row>
                <row>
                    <cell type="field" id="yn1" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn2" name="yesNo2" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn3" name="yesNo3" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn4" name="yesNo4" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn5" name="yesNo5" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn6" name="yesNo6" uitype="checkbox" initialize="editable=true"/>
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
                </row>-->
            </rows>
        </viewdef>

        <viewdef
            type="formtable"
            name="Determination Table"
            class="edu.ku.brc.specify.datamodel.Determination"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Determination subform table for Collection Object form.]]></desc>
            <definition>Determination</definition>
        </viewdef>
        
        <viewdef
            name="Determination"
            type="form"
            class="edu.ku.brc.specify.datamodel.Determination"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Determination subform for Collection Object form.]]></desc>
            <enableRules/>

            <columnDef>99px,2px,200px,2px,76px,2px,200px,5px,90px,2px,140px,0px,p:g</columnDef>
            <!--<columnDef os="lnx">115px,2px,210px,5px,110px,2px,205px,5px,105px,2px,156px,0px,p:g</columnDef>
            <columnDef os="mac">130px,2px,260px,5px,100px,2px,238px,5px,108px,2px,180px,0px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g,5px:g,p,2px,p:g,5px:g,p,2px,p:g(2),0px</columnDef>-->
            <rowDef auto="true" cell="p" sep="2px"/>

            <rows>
                <row>
                    <cell type="label" labelfor="1"/>
                    <cell type="field" id="1" name="taxon" uitype="querycbx" initialize="name=Taxon" colspan="7"/>
                    <cell type="field" id="3" name="isCurrent" uitype="checkbox"/>
                </row>
                <row>
                    <cell type="label" labelfor="13"/>
                    <cell type="field" id="13" name="preferredTaxon" uitype="text" readonly="true" colspan="9"/>
                </row>
                <row>
                    <cell type="label" labelfor="7"/>
                    <cell type="field" id="7" uitype="plugin" name="this" initialize="name=PartialDateUI;df=determinedDate;tp=determinedDatePrecision" uifieldformatter="Date"/>
                    <cell type="label" labelfor="5"/>
                    <cell type="field" id="5" name="determiner" uitype="querycbx" initialize="name=Agent"/>
                    <cell type="label" labelfor="6"/>
                    <cell type="field" id="6" name="typeStatusName" uitype="combobox"/>
                </row>
                <!--<row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="addendum" uitype="text"/>            
                    <cell type="label" labelfor="an"/>
                    <cell type="field" id="an" name="alternateName" uitype="text"/>
                    <cell type="label" labelfor="con"/>
                    <cell type="field" id="con" name="confidence" uitype="text"/>
                </row>
                <row>
                    <cell type="subview" id="7" name="determinationCitations" viewname="DeterminationCitation" colspan="15"/>                    
                </row>
                <row>
                    <cell type="label" labelfor="fob"/>
                    <cell type="field" id="fob" name="featureOrBasis" uitype="text"/>
                    <cell type="label" labelfor="mtd"/>
                    <cell type="field" id="mtd" name="method" uitype="text"/>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="nameUsage" uitype="combobox"/>
                </row>
                <row>
                    <cell type="label" labelfor="n1"/>
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                    <cell type="label" labelfor="n2"/>
                    <cell type="field" id="n2" name="number2" uitype="text"/>
                    <cell type="label" labelfor="8"/>
                    <cell type="field" id="8" name="qualifier" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="remarks" uitype="textareabrief" rows="2" colspan="10"/>
                </row>
                <row>
                    <cell type="label" labelfor="ssq"/>
                    <cell type="field" id="ssq" name="subSpQualifier" uitype="text"/>
                    <cell type="label" labelfor="t1"/>
                    <cell type="field" id="t1" name="text1" uitype="text"/>
                    <cell type="label" labelfor="t2"/>
                    <cell type="field" id="t2" name="text2" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="vq"/>
                    <cell type="field" id="vq" name="varQualifier" uitype="text"/>
                    <cell type="field" id="20" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="20" name="yesNo2" uitype="checkbox" initialize="editable=true"/>
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                </row>
                <row>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
                </row>-->
            </rows>
        </viewdef>

        <viewdef
            type="form"
            name="FishAttributes"
            class="edu.ku.brc.specify.datamodel.CollectionObjectAttribute"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Form For OtherIdentifier]]></desc>
            
            <columnDef>100px,2px,115px,5px,55px,2px,115px,5px,104px,2px,115px,5px,85px,2px,115px,0px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,120px,5px,75px,2px,120px,5px,125px,2px,120px,5px,99px,2px,120px,0px,p:g</columnDef>
            <columnDef os="mac">130px,2px,140px,5px,75px,2px,140px,5px,130px,2px,140px,5px,109px,2px,145px,0px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),0px</columnDef>
            <rowDef auto="true" sep="2px" cell="p"/>

            <rows>
                <row>
                    <cell type="label" labelfor="1"/><!-- Sex -->
                    <cell type="field" id="1" name="text1" uitype="combobox"/>
                    <cell type="label" labelfor="9"/><!-- Sex Verbatim -->
                    <cell type="field" id="9" name="text9" uitype="text"/>
                    <cell type="label" labelfor="2"/><!-- Stage -->
                    <cell type="field" id="2" name="text4" uitype="combobox"/>
                    <cell type="label" labelfor="6"/><!-- Color in Life -->
                    <cell type="field" id="6" name="text8" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="20"/><!-- TL -->
                    <cell type="field" id="20" name="text5" uitype="text"/>
                    <cell type="label" labelfor="21"/><!-- SL -->
                    <cell type="field" id="21" name="text6" uitype="text"/>
                    <cell type="label" labelfor="n1"/><!-- Length 1 -->
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                    <cell type="label" labelfor="n2"/><!-- Length 2 -->
                    <cell type="field" id="n2" name="number2" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n3"/><!-- Weight (g)  -->
                    <cell type="field" id="n3" name="number3" uitype="text"/>
                    <cell type="label" labelfor="4"/><!-- Weight Verbatim -->
                    <cell type="field" id="4" name="text2" uitype="text"/>
                    <cell type="label" labelfor="t10"/><!-- Length Verbatim -->
                    <cell type="field" id="t10" name="text10" uitype="text"/>
                    <cell type="field" id="yn1" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
                </row>
                <row>
                    <cell type="label" labelfor="22"/>
                    <cell type="field" id="22" name="remarks" uitype="textareabrief" rows="2" colspan="14"/>
                </row> 
              <!--
                <row>
                    <cell type="label" labelfor="t11"/>
                    <cell type="field" id="t11" name="text11" uitype="text"/>
                    <cell type="label" labelfor="t12"/>
                    <cell type="field" id="t12" name="text12" uitype="text"/>
                    <cell type="label" labelfor="n4"/>
                    <cell type="field" id="n4" name="number4" uitype="text"/>
				</row>
				<row>
                    <cell type="label" labelfor="t13"/>
                    <cell type="field" id="t13" name="text13" uitype="text"/>
                    <cell type="label" labelfor="t14"/>
                    <cell type="field" id="t14" name="text14" uitype="text"/>
                    <cell type="label" labelfor="t15"/>
                    <cell type="field" id="t15" name="text15" uitype="text"/>
                    <cell type="label" labelfor="n1"/>
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n6"/>
                    <cell type="field" id="n6" name="number6" uitype="text"/>
                    <cell type="label" labelfor="n7"/>
                    <cell type="field" id="n7" name="number7" uitype="text"/>
                    <cell type="label" labelfor="n8"/>
                    <cell type="field" id="n8" name="number8" uitype="text"/>
                    <cell type="label" labelfor="n9"/>
                    <cell type="field" id="n9" name="number9" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n10"/>
                    <cell type="field" id="n10" name="number10" uitype="text"/>
                    <cell type="label" labelfor="n11"/>
                    <cell type="field" id="n11" name="number11" uitype="text"/>
                    <cell type="label" labelfor="n12"/>
                    <cell type="field" id="n12" name="number12" uitype="text"/>
                    <cell type="label" labelfor="n13"/>
                    <cell type="field" id="n13" name="number13" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n14"/>
                    <cell type="field" id="n14" name="number14" uitype="text"/>
                    <cell type="label" labelfor="n15"/>
                    <cell type="field" id="n15" name="number15" uitype="text"/>
                    <cell type="label" labelfor="n16"/>
                    <cell type="field" id="n16" name="number16" uitype="text"/>
                    <cell type="label" labelfor="n17"/>
                    <cell type="field" id="n17" name="number17" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n18"/>
                    <cell type="field" id="n18" name="number18" uitype="text"/>
                    <cell type="label" labelfor="n19"/>
                    <cell type="field" id="n19" name="number19" uitype="text"/>
                    <cell type="label" labelfor="n20"/>
                    <cell type="field" id="n20" name="number20" uitype="text"/>
                    <cell type="label" labelfor="n21"/>
                    <cell type="field" id="n21" name="number21" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n22"/>
                    <cell type="field" id="n22" name="number22" uitype="text"/>
                    <cell type="label" labelfor="n23"/>
                    <cell type="field" id="n23" name="number23" uitype="text"/>
                    <cell type="label" labelfor="n24"/>
                    <cell type="field" id="n24" name="number24" uitype="text"/>
                    <cell type="label" labelfor="n25"/>
                    <cell type="field" id="n25" name="number25" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n26"/>
                    <cell type="field" id="n26" name="number26" uitype="text"/>
                    <cell type="label" labelfor="n27"/>
                    <cell type="field" id="n27" name="number27" uitype="text"/>
                    <cell type="label" labelfor="n28"/>
                    <cell type="field" id="n28" name="number28" uitype="text"/>
                    <cell type="label" labelfor="n29"/>
                    <cell type="field" id="n29" name="number29" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n30"/>
                    <cell type="field" id="n30" name="number30" uitype="text"/>
                    <cell type="label" labelfor="n31"/>
                    <cell type="field" id="n31" name="number31" uitype="text"/>
                    <cell type="label" labelfor="n32"/>
                    <cell type="field" id="n32" name="number32" uitype="text"/>
                    <cell type="label" labelfor="n33"/>
                    <cell type="field" id="n33" name="number33" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n34"/>
                    <cell type="field" id="n34" name="number34" uitype="text"/>
                    <cell type="label" labelfor="n35"/>
                    <cell type="field" id="n35" name="number35" uitype="text"/>
                    <cell type="label" labelfor="n36"/>
                    <cell type="field" id="n36" name="number36" uitype="text"/>
                    <cell type="label" labelfor="n37"/>
                    <cell type="field" id="n37" name="number37" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n38"/>
                    <cell type="field" id="n38" name="number38" uitype="text"/>
                    <cell type="label" labelfor="n39"/>
                    <cell type="field" id="n39" name="number39" uitype="text"/>
                    <cell type="label" labelfor="n20"/>
                    <cell type="field" id="n40" name="number40" uitype="text"/>
                    <cell type="label" labelfor="n41"/>
                    <cell type="field" id="n41" name="number41" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n42"/>
                    <cell type="field" id="n42" name="number42" uitype="text"/>
                </row>
                <row>
                    <cell type="field" id="yn1" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn2" name="yesNo2" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn3" name="yesNo3" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn4" name="yesNo4" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn5" name="yesNo5" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn6" name="yesNo6" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn7" name="yesNo7" uitype="checkbox" initialize="editable=true"/>
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                </row>
                <row>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
                </row>-->
            </rows>
        </viewdef>
                 
        <viewdef
            type="formtable"
            name="Preparation Table"
            class="edu.ku.brc.specify.datamodel.Preparation"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Preparation subform table for Collection Object form.]]></desc>
            <definition>Preparation</definition>
        </viewdef>
                
        <viewdef
            type="form"
            name="Preparation"
            class="edu.ku.brc.specify.datamodel.Preparation"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj"
            useresourcelabels="true">
            <desc><![CDATA[Preparation for Collection Object form.]]></desc>
            <enableRules/>

            <columnDef>100px,2px,250px,5px,100px,2px,200px,5px,100px,2px,100px,2px,100px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,200px,5px,110px,2px,223px,5px,100px,2px,126px,2px,75px,p:g</columnDef>
            <columnDef os="mac">130px,2px,165px,5px,110px,2px,260px,5px,105px,2px,174px,2px,70px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g(2),5px:g,p,2px,p:g,5px:g,p,2px,p:g,10px,p:g</columnDef>
            <rowDef auto="true" cell="p" sep="2dlu"/>
            <rowDef auto="true" cell="p" sep="2dlu"/>

            <rows>
                <row>
                    <cell type="label" labelfor="7"/>
                    <cell type="field" id="7" name="prepType" uitype="combobox" picklist="PrepType"/>
                    <cell type="label" labelfor="1"/>
                    <cell type="field" id="1" uitype="plugin" name="this" initialize="name=PartialDateUI;df=preparedDate;tp=preparedDatePrecision" uifieldformatter="Date"/>
                    <cell type="field" id="isOnLoan" name="isOnLoan" uitype="checkbox" label="IS_ON_LOAN" readonly="true"/>
                    <cell type="command" id="ShowLoansBtn" name="ShowLoansBtn" label="SHOW_INTERACTIONS" ignore="true"/>
                    <cell type="subview" id="attachments" viewname="ObjectAttachment" name="preparationAttachments" initialize="align=right;btn=true;icon=PreparationAttachment"/>
                </row>
                <row>
                    <cell type="label" labelfor="3"/>
                    <cell type="field" id="3" name="countAmt" uitype="text"/>
                    <cell type="label" labelfor="2"/>
                    <cell type="field" id="2" name="preparedByAgent" uitype="querycbx" initialize="name=Agent"/>
                    <cell type="label" labelfor="4"/>
                    <cell type="field" id="4" name="storage" uitype="querycbx" initialize="name=Storage" colspan="3"/>
                </row>
                <!--<row>
                    <cell type="label" labelfor="desc"/>
                    <cell type="field" id="desc" name="description" uitype="text"/>
                    <cell type="label" labelfor="n1"/>
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                    <cell type="label" labelfor="n2"/>
                    <cell type="field" id="n2" name="number2" uitype="text"/>
                </row>
                <row>
                    <cell type="subview" id="ms" viewname="MaterialSample" name="materialSamples" initialize="align=right;btn=true;icon=MaterialSample"/>
                </row>
                <row>
                    <cell type="label" labelfor="rem"/>
                    <cell type="field" id="rem" name="remarks" uitype="textareabrief" rows="2" colspan="14"/>
                </row> 
                <row>
                    <cell type="label" labelfor="sn"/>
                    <cell type="field" id="sn" name="sampleNumber" uitype="text"/>
                    <cell type="label" labelfor="stat"/>
                    <cell type="field" id="stat" name="status" uitype="text"/>
                    <cell type="label" labelfor="sl"/>
                    <cell type="field" id="sl" name="storageLocation" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="t1"/>
                    <cell type="field" id="t1" name="text1" uitype="text"/>
                    <cell type="label" labelfor="t2"/>
                    <cell type="field" id="t2" name="text2" uitype="text"/>
                </row>
                <row>
                    <cell type="field" id="yn1" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn2" name="yesNo2" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn3" name="yesNo3" uitype="checkbox" initialize="editable=true"/>
                </row>
                <row>
                    <cell type="subview" id="18" viewname="PreparationAttributes" name="preparationAttribute" colspan="15"/>
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                </row>
                <row>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
                </row>-->
            </rows>
        </viewdef>
        
        <viewdef
            type="form"
            name="CollectingEvent"
            class="edu.ku.brc.specify.datamodel.CollectingEvent"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Collecting Event]]></desc>
            
            <columnDef>100px,2px,100px,5px,100px,2px,100px,5px,100px,5px,100px,5px,100px,5px,100px,5px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,240px,5px,100px,2px,215px,5px,106px,2px,125px,0px,15px,p:g</columnDef>
            <columnDef os="mac">130px,2px,246px,5px,115px,2px,270px,5px,110px,2px,145px,0px,15px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g(2),5px:g,p,2px,p:g,5px:g,p,2px,p:g(2),0px,p,p:g</columnDef>
            <rowDef auto="true" cell="p" sep="2px"/>
            
            <rows>
                <row>
                    <cell type="label" labelfor="1"/>
                    <cell type="field" id="1" name="stationFieldNumber" uitype="text"/>
                    <cell type="label" labelfor="2"/>
                    <cell type="field" id="2" uitype="plugin" name="this" initialize="name=PartialDateUI;df=startDate;tp=startDatePrecision" uifieldformatter="Date"/>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="startTime" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="3"/>
                    <cell type="field" id="3" name="method" uitype="combobox"/>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" uitype="plugin" name="this" initialize="name=PartialDateUI;df=endDate;tp=endDatePrecision" uifieldformatter="Date"/>
                    <cell type="label" labelfor="7"/>
                    <cell type="field" id="7" name="endTime" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="verbcoll"/>
                    <cell type="field" id="verbcoll" name="text1" uitype="text" colspan="1"/>  <!-- Verbatim Collectors -->
                    <cell type="label" labelfor="13"/>
                    <cell type="field" id="13" name="verbatimDate" uitype="text" colspan="1"/> <!-- Verbatim Date -->
                </row>
                <row>
                    <cell type="label" labelfor="4"/>
                    <cell type="field" id="4" name="locality" uitype="querycbx" initialize="name=Locality;title=Locality;clonebtn=true" colspan="10"/> 
                </row>
                <row>
                    <cell type="label" labelfor="6"/>
                    <cell type="field" id="6" name="remarks" uitype="textareabrief" rows="2" colspan="10"/>
                </row>
				<!--<row>  
					<cell type="label" labelfor="haul"/>
                    <cell type="field" id="haul" name="text2" uitype="text" colspan="1"/>     
					<cell type="label" labelfor="gear"/>
                    <cell type="field" id="gear" name="text3" uitype="text" colspan="1"/>      
					<cell type="label" labelfor="wire"/>
                    <cell type="field" id="wire" name="text4" uitype="text" colspan="1"/>      
				</row>-->
                <row>
                 <cell type="subview" id="8" name="collectingEventAttribute" viewname="CollectingEventAttribute" colspan="13"/>
                </row>                
				<row>
                    <cell type="separator" label="" colspan="15"/>
                </row>
                <row>
                    <cell type="subview" viewname="Collectors" id="5" name="collectors" colspan="13" rows="3"/>
                </row>
                <row>
                    <cell type="subview" viewname="CollectionObjectSub" id="11" colspan="13" rows="3" name="collectionObjects" initialize="addsearch=true"/>
                </row>
                <row>
                    <cell type="separator" label="Attachments" colspan="13"/>
                </row>
                <row>
                    <cell type="subview" id="attachments" viewname="ObjectAttachment" name="collectingEventAttachments" colspan="3" initialize="btn=true;icon=CollectingEventAttachment"/>
                    <cell type="label" labelfor="guid"/>
                    <cell type="field" id="guid" name="guid" uitype="text" colspan="3" readonly="true"/>
                </row>
                <!--<row>
                 <cell type="subview" id="8" name="collectingEventAttribute" viewname="CollectingEventAttribute" colspan="13"/>
                </row>
                <row>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="collectingTrip" uitype="querycbx" initialize="name=CollectingTrip;title=CollectingTrip" colspan="5"/> 
                    <cell type="label" labelfor="edv"/>
                    <cell type="field" id="edv" name="endDateVerbatim" uitype="text"/>
                    <cell type="label" labelfor="sdv"/>
                    <cell type="field" id="sdv" name="startDateVerbatim" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="3"/>
                    <cell type="field" id="3" name="method" uitype="combobox"/>
                    <cell type="label" labelfor="13"/>
                    <cell type="field" id="13" name="verbatimDate" uitype="text" colspan="2"/>   
                    <cell type="label" labelfor="vl"/>
                    <cell type="field" id="vl" name="verbatimLocality" uitype="text" colspan="2"/>   
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                </row>
                <row>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
                </row>-->
            </rows>
        </viewdef>
                
        <viewdef
            type="form"
            name="CollectingEventAttribute"
            class="edu.ku.brc.specify.datamodel.CollectingEventAttribute"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Collecting Event]]></desc>
            
            <columnDef>100px,2px,108px,5px,75px,2px,108px,5px,80px,2px,108px,5px,85px,2px,140px,0px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,115px,5px,85px,2px,115px,5px,100px,2px,115px,5px,99px,2px,150px,0px,p:g</columnDef>
            <columnDef os="mac">130px,2px,145px,5px,93px,2px,145px,5px,93px,2px,125px,5px,99px,2px,179px,0px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),0px</columnDef>
            <rowDef auto="true" cell="p" sep="2px"/>
            
            <rows>
              <row>
                    <cell type="label" labelfor="1"/><!-- Wire -->
                    <cell type="field" id="1" name="text1" uitype="text"/>
                    <cell type="label" labelfor="t10"/><!-- Haul -->
                    <cell type="field" id="t10" name="text10" uitype="text"/>
                    <cell type="label" labelfor="t11"/><!-- Gear -->
                    <cell type="field" id="t11" name="text11" uitype="text"/>
                    <cell type="label" labelfor="t12"/>
                    <cell type="field" id="t12" name="text12" uitype="text"/>
                </row>
              <row>
                    <cell type="label" labelfor="n1"/><!-- Min Depth -->
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                    <cell type="label" labelfor="n2"/><!-- Max Depth -->
                    <cell type="field" id="n2" name="number2" uitype="text"/>
                    <cell type="label" labelfor="2"/><!-- Depth Verbatim -->
                    <cell type="field" id="2" name="text2" uitype="text"/>
                    <cell type="label" labelfor="3"/><!-- Temp -->
                    <cell type="field" id="3" name="text3" uitype="text"/>
			  </row>
                <row>
                    <cell type="label" labelfor="10"/><!-- Clarity -->
                    <cell type="field" id="10" name="text5" uitype="text"/>
                    <cell type="label" labelfor="5"/><!-- Salinity -->
                    <cell type="field" id="5" name="text6" uitype="text"/>
                    <cell type="label" labelfor="7"/><!-- Vegetation -->
                    <cell type="field" id="7" name="text8" uitype="text"/>
                    <cell type="label" labelfor="8"/><!-- Habitat Type -->
                    <cell type="field" id="8" name="text9" uitype="combobox"/>
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="remarks" uitype="textareabrief" rows="2" colspan="14"/>
                </row>
                <!--<row>
                    <cell type="label" labelfor="t13"/>
                    <cell type="field" id="t13" name="text13" uitype="text"/>
                    <cell type="label" labelfor="t14"/>
                    <cell type="field" id="t14" name="text14" uitype="text"/>
                    <cell type="label" labelfor="t15"/>
                    <cell type="field" id="t15" name="text15" uitype="text"/>
                    <cell type="label" labelfor="t16"/>
                    <cell type="field" id="t16" name="text16" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="t17"/>
                    <cell type="field" id="t17" name="text17" uitype="text"/>
                    <cell type="label" labelfor="n1"/>
                    <cell type="field" id="n1" name="number1" uitype="text"/>
                    <cell type="label" labelfor="n2"/>
                    <cell type="field" id="n2" name="number2" uitype="text"/>
                    <cell type="label" labelfor="n3"/>
                    <cell type="field" id="n3" name="number3" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n4"/>
                    <cell type="field" id="n4" name="number4" uitype="text"/>
                    <cell type="label" labelfor="n5"/>
                    <cell type="field" id="n5" name="number5" uitype="text"/>
                    <cell type="label" labelfor="n6"/>
                    <cell type="field" id="n6" name="number6" uitype="text"/>
                    <cell type="label" labelfor="n7"/>
                    <cell type="field" id="n7" name="number7" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n8"/>
                    <cell type="field" id="n8" name="number8" uitype="text"/>
                    <cell type="label" labelfor="n9"/>
                    <cell type="field" id="n9" name="number9" uitype="text"/>
                    <cell type="label" labelfor="n10"/>
                    <cell type="field" id="n10" name="number10" uitype="text"/>
                    <cell type="label" labelfor="n11"/>
                    <cell type="field" id="n11" name="number11" uitype="text"/>
                </row>
                <row>
                    <cell type="label" labelfor="n12"/>
                    <cell type="field" id="n12" name="number12" uitype="text"/>
                    <cell type="label" labelfor="n13"/>
                    <cell type="field" id="n13" name="number13" uitype="text"/>
                </row>
                <row>
                    <cell type="field" id="yn1" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn2" name="yesNo2" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn3" name="yesNo3" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn4" name="yesNo4" uitype="checkbox" initialize="editable=true"/>
                    <cell type="field" id="yn5" name="yesNo5" uitype="checkbox" initialize="editable=true"/>
                </row>
                <row>
                   <cell type="label" labelfor="55"/>
                   <cell type="field" id="55" uitype="plugin" name="this" initialize="name=HostTaxonPlugin;relname=XXXX"/>
                </row>
                <row>
                    <cell type="label" labelfor="9"/>
                    <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                    <cell type="label" labelfor="10"/>
                    <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
                </row>
                <row>
                    <cell type="label" labelfor="11"/>
                    <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
                    <cell type="label" labelfor="12"/>
                    <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
                </row>-->
            </rows>
        </viewdef>
        
        <viewdef
            type="formtable"
            name="CollectionObjectSub Table"
            class="edu.ku.brc.specify.datamodel.CollectionObject"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Collection Object subform table for appraisal and Project forms.]]></desc>
            <definition>CollectionObjectSub</definition>
        </viewdef>
        
        <viewdef
              type="form"
              name="CollectionObjectSub"
              class="edu.ku.brc.specify.datamodel.CollectionObject"
              gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
              settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
              <desc><![CDATA[The Collection Object Subform for appraisal and project forms.]]></desc>
              <enableRules/>
              
              <columnDef>100px,2px,120px,5px,100px,2px,98px,5px,95px,2px,98px,5px,95px,2px,98px,p:g</columnDef>
              <columnDef os="lnx">115px,2px,152px,5px,107px,2px,100px,5px,110px,2px,100px,5px,110px,2px,100px,p:g</columnDef>
              <columnDef os="mac">130px,2px,150px,5px,127px,2px,121px,5px,120px,2px,121px,5px,119px,2px,121px,p:g</columnDef>
              <columnDef os="exp">p,2px,min(p;150px),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2)</columnDef>
              <rowDef auto="true" cell="p" sep="2px"/>
		  
              <rows>
                <row>
                    <cell type="label" labelfor="1"/>
                    <cell type="field" id="1" name="catalogNumber" uitype="formattedtext"/>
                    <cell type="label" labelfor="2"/>
                    <cell type="field" id="2" name="altCatalogNumber" uitype="text"/>
                    <cell type="label" labelfor="3"/>
                    <cell type="field" id="3" name="collection.collectionName" uitype="dsptextfield"/>
                    <cell type="label" labelfor="4"/>
                    <cell type="field" id="4" name="projectNumber" uitype="text"/>
                </row>
             </rows>
        </viewdef>
        
        <viewdef
            type="formtable"
            name="AccessionItems Table"
            class="edu.ku.brc.specify.datamodel.CollectionObject"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Accession Items]]></desc>
            <definition>AccessionItems</definition>
        </viewdef>
        
        <viewdef
              type="form"
              name="AccessionItems"
              class="edu.ku.brc.specify.datamodel.CollectionObject"
              gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
              settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
              <desc><![CDATA[The Collection Object Subform for Accessions.]]></desc>
              <enableRules/>
              
              <columnDef>105px,2px,120px,5px,100px,2px,95px,5px,102px,2px,95px,5px,97px,2px,95px,p:g</columnDef>
              <columnDef os="lnx">115px,2px,117px,5px,110px,2px,105px,5px,121px,2px,105px,5px,116px,2px,105px,p:g</columnDef>
              <columnDef os="mac">130px,2px,130px,5px,118px,2px,130px,5px,121px,2px,130px,5px,120px,2px,130px,p:g</columnDef>
              <columnDef os="exp">p,2px,min(p;150px),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2)</columnDef>
              <rowDef auto="true" cell="p" sep="2px"/>
		  
              <rows>
                <row>
                    <cell type="label" labelfor="1"/>
                    <cell type="field" id="1" name="catalogNumber" uitype="formattedtext"/>
                    <cell type="label" labelfor="2"/>
                    <cell type="field" id="2" name="altCatalogNumber" uitype="text"/>
                    <cell type="label" labelfor="3"/>
                    <cell type="field" id="3" name="collection.collectionName" uitype="dsptextfield"/>
                    <cell type="label" labelfor="4"/>
                    <cell type="field" id="4" name="projectNumber" uitype="text"/>
                </row>
             </rows>
        </viewdef>
        
        <viewdef
            type="form"
            name="Locality"
            class="edu.ku.brc.specify.datamodel.Locality"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Locality]]></desc>
            
            <columnDef>100px,2px,150px,5px,292px,2px,156px,120px,15px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,175px,5px,242px,2px,175px,201px,15px,p:g</columnDef>
            <columnDef os="mac">130px,2px,160px,5px,347px,2px,160px,226px,15px,p,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,p:g</columnDef>
            <rowDef auto="true" cell="p" sep="2dlu"/>
            <enableRules>
                <rule id="georef"><![CDATA[localityName.isNotEmpty() && geography.isNotEmpty()]]></rule>
            </enableRules>
            
            <rows>
                <row>
                    <cell type="label" labelfor="localityName"/>
                    <cell type="field" id="localityName" name="localityName" uitype="text"  colspan="6"/>
                </row>
                <row>
                    <cell type="label" labelfor="geography"/>
                    <cell type="field" id="geography" name="geography" uitype="querycbx" initialize="name=Geography"  colspan="6"/>
                </row>
                <row>
                    <cell type="label" labelfor="5"/>
                    <cell type="field" id="5" name="this" uitype="plugin" initialize="name=LatLonUI" colspan="5"/>
                </row>
                <row>
                    <cell type="label" labelfor="2"/>
                    <cell type="field" id="2" name="datum" uitype="text"/>
                    <cell type="label" labelfor="6"/>
                    <cell type="field" id="6" name="latLongMethod" uitype="text"/>
                </row>
                <row>  
                    <cell type="subview" id="7" name="geoCoordDetails" viewname="GeoCoordDetail" colspan="9"/> 
                </row>
                <row>
                    <cell type="subview" id="8" name="localityDetails" viewname="LocalityDetail" colspan="9"/> 
                </row>
                <row>
                    <cell type="separator" label="Plugins" colspan="9"/>
                </row>
                <row>
                    <cell type="panel" id="outerPanel" name="outerPanel" coldef="p,f:p:g,p,f:p:g,p,f:p:g,p,f:p:g" rowdef="p" colspan="9">
                        <rows>
                            <row>
                                <cell type="field" id="georef" name="this" uitype="plugin" initialize="name=LocalityGeoRef;title=Geo Ref;geoid=geography;locid=localityName;llid=5" colspan="1"/>
                                <cell type="field" id="ge" name="this" uitype="plugin" initialize="name=LocalityGoogleEarth;title=Google Earth;watch=5" colspan="1"/>
                            </row>
                        </rows>
                    </cell>
                </row>
                <row>
                    <cell type="separator" label="Attachments" colspan="9"/>
                </row>
                <row>
                    <cell type="subview" id="attachments" viewname="ObjectAttachment" name="localityAttachments" colspan="3" initialize="btn=true;icon=LocalityAttachment"/>
                    <cell type="label" labelfor="guid"/>
                    <cell type="field" id="guid" name="guid" uitype="text" colspan="3" readonly="true"/>
                </row>
            </rows>
        </viewdef>
        
                <viewdef
            type="form"
            name="Container"
            class="edu.ku.brc.specify.datamodel.Container"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj"
            useresourcelabels="true">
            <desc><![CDATA[Container Description]]></desc>
            <enableRules/>
            
            <columnDef>100px,2px,178px,5px,108px,2px,130px,5px,100px,2px,195px,0px,15px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,196px,2px,113px,2px,150px,2px,115px,5px,215px,0px,15px,p:g</columnDef>
            <columnDef os="mac">130px,2px,216px,2px,133px,2px,170px,2px,135px,5px,235px,0px,15px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g,2px,p:g(2),5px,p:g,2px,p:g(2),5px:g,p,2px,p:g,0px,p,p:g</columnDef>
            <rowDef auto="true" cell="p" sep="2px"/>

            <rows>
                <row> 
                    <cell type="label" labelfor="nm"/>
                    <cell type="field" id="nm" name="name" uitype="text"/>
                    <cell type="label" labelfor="typ"/>
                    <cell type="field" id="typ" name="type" uitype="combobox"/>
                </row>
                <row>
                    <cell type="label" labelfor="parent"/>
                    <cell type="field" id="parent" name="parent" uitype="querycbx" initialize="name=Container;displaydlg=ContainerDisplay;searchdlg=ContainerSearch" colspan="10"/>                
                </row>
                
             <!-- this is not yet functioning. Only displays one catalog number at a time, and not in any ranking. 
                <row>
                    <cell type="label" label="COLOBJ"  initialize="align=right"/>
                    <cell type="field" id="this_" name="this" uitype="plugin" initialize="name=ContainersColObjPlugin"/>                
                    <cell type="label" label="CONTNR_COLOBJ" initialize="align=left" colspan="5"/>
                </row>
            -->    
                <row>
                    <cell type="label" labelfor="desc"/>
                    <cell type="field" id="desc" name="description" uitype="textareabrief" rows="2" colspan="10"/> 
                </row>
                <row>
                    <cell type="subview" id="collectionObjects" name="collectionObjects" viewname="CollectionObjectSubTable" initialize="addsearch=true;title=Additional specimens in this container" defaulttype="table" colspan="13"/>
                </row>                
            <!-- Not working- data entered does not persist after saving, and is not populated back to the CO form.    
                <row>
                    <cell type="subview" id="collectionObjectKids" name="collectionObjectKids" viewname="CollectionObjectSubTable" initialize="addsearch=true;title=COLOBJ_IN_CONTR" defaulttype="table" colspan="13"/>               
                </row>
                <row>
                    <cell type="subview" id="children" name="children" viewname="ContainerBriefTable" initialize="addsearch=true;title=SUBCONTAINERS" defaulttype="table" colspan="13"/>               
                </row>
            -->    
           </rows>
        </viewdef>
        
        <viewdef
            type="formtable"
            name="ContainerBrief Table"
            class="edu.ku.brc.specify.datamodel.Container"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
            <desc><![CDATA[Container grid view for Container form for children.]]></desc>
            <definition>ContainerBrief</definition>
        </viewdef>   
        <viewdef
            type="form"
            name="ContainerBrief"
            class="edu.ku.brc.specify.datamodel.Container"
            gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
            settable="edu.ku.brc.af.ui.forms.DataSetterForObj"
            useresourcelabels="true">
            <desc><![CDATA[Container Description]]></desc>
            <enableRules/>
            
            <columnDef>100px,2px,178px,5px,108px,2px,130px,5px,100px,2px,195px,0px,15px,p:g</columnDef>
            <columnDef os="lnx">115px,2px,196px,2px,113px,2px,150px,2px,115px,5px,215px,0px,15px,p:g</columnDef>
            <columnDef os="mac">130px,2px,216px,2px,133px,2px,170px,2px,135px,5px,235px,0px,15px,p:g</columnDef>
            <columnDef os="exp">p,2px,p:g,2px,p:g(2),5px,p:g,2px,p:g(2),5px:g,p,2px,p:g,0px,p,p:g</columnDef>
            <rowDef auto="true" cell="p" sep="2px"/>

            <rows>
                <row> 
                    <cell type="label" labelfor="nm"/>
                    <cell type="field" id="nm" name="name" uitype="text"/>
                    <cell type="label" labelfor="typ"/>
                    <cell type="field" id="typ" name="type" uitype="combobox"/>
                </row>        
                <row>
                    <cell type="label" labelfor="parent"/>
                    <cell type="field" id="parent" name="parent" uitype="querycbx" initialize="name=Container;displaydlg=ContainerDisplay;searchdlg=ContainerSearch" colspan="10"/>                
                </row>
        <!--using 'Parent' instead                
                <row>
                    <cell type="label" label="COLOBJ"  initialize="align=right"/>
                    <cell type="field" id="this_" name="this" uitype="plugin" initialize="name=ContainersColObjPlugin"/>                
                    <cell type="label" label="CONTNR_COLOBJ" initialize="align=left" colspan="5"/>
                </row>
        -->                
                <row>
                    <cell type="label" labelfor="desc"/>
                    <cell type="field" id="desc" name="description" uitype="textareabrief" rows="2" colspan="10"/> 
                </row>
                <row>
                    <cell type="subview" id="collectionObjects" name="collectionObjects" viewname="CollectionObjectSubTable" initialize="addsearch=true;title=Additional specimens in this container" defaulttype="table" colspan="13"/>
                </row>
            <!-- This is not working properly. See notes in code of main Container form. 
                
                    <cell type="subview" id="collectionObjectKids" name="collectionObjectKids" viewname="CollectionObjectSubTable" initialize="addsearch=true;title=COLOBJ_IN_CONTR" defaulttype="table" colspan="13"/>               
                
            -->    
           </rows>
        </viewdef>

    </viewdefs>
</viewset>