More changes to ontology editing forms and console pages based on help from Manolo
This commit is contained in:
parent
4602b4364d
commit
32cd580d81
7 changed files with 184 additions and 142 deletions
|
@ -15,7 +15,7 @@
|
|||
<i>for grouping properties on individual pages</i><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td style="vertical-align:top;" valign="top" colspan="1">
|
||||
<b>Ontology</b><br/>
|
||||
|
@ -30,14 +30,14 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td style="vertical-align:top;" valign="top" colspan="2">
|
||||
<b>Internal name*</b> (RDF local name)<br/><br/>
|
||||
<b>Internal name*</b> (RDF local name)<br/>
|
||||
<c:choose>
|
||||
<c:when test="${_action eq 'update'}">
|
||||
<input type="text" name="LocalName" class="fullWidthInput" disabled="disabled" value="<form:value name='LocalName'/>" /><br/>
|
||||
<input type="text" class="fullWidthInput" disabled="disabled" name="LocalName" value="<form:value name='LocalName'/>" /><br/>
|
||||
<i>Edit via "change URI"</i>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="text" name="LocalName" class="fullWidthInput" value="<form:value name="LocalName"/>" /><br/>
|
||||
<input type="text" class="fullWidthInput" name="LocalName" value="<form:value name="LocalName"/>" /><br/>
|
||||
<i>must be valid XML without spaces; by</i><br/>
|
||||
<i>convention use camel case with no initial capital</i><br/>
|
||||
</c:otherwise>
|
||||
|
@ -48,15 +48,15 @@
|
|||
</c:if>
|
||||
</td>
|
||||
<td style="vertical-align:top;" valign="top" colspan="2">
|
||||
<b>Label for public display</b><br/><br/>
|
||||
<input type="text" name="DomainPublic" class="fullWidthInput" maxlength="80" value="<form:value name="DomainPublic"/>" />
|
||||
<b>Label for public display</b><br/>
|
||||
<input type="text" class="fullWidthInput" name="DomainPublic" value="<form:value name="DomainPublic"/>" maxlength="80" />
|
||||
<c:set var="DomainPublicError"><form:error name="DomainPublic"/></c:set>
|
||||
<c:if test="${!empty DomainPublicError}">
|
||||
<span class="notice"><c:out value="${DomainPublicError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td style="vertical-align:top;" valign="top" colspan="1">
|
||||
<b>Inverse property ontology</b><br/>
|
||||
|
@ -71,14 +71,14 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td style="vertical-align:top;" valign="top" colspan="2">
|
||||
<b>Inverse property internal name</b> (RDF local name)<br/>
|
||||
<b>Inverse property internal name</b><br/>
|
||||
<c:choose>
|
||||
<c:when test="${_action eq 'update'}">
|
||||
<input type="text" name="LocalNameInverse" class="fullWidthInput" disabled="disabled" value="<form:value name="LocalNameInverse"/>" /><br/>
|
||||
<input type="text" class="fullWidthInput" disabled="disabled" name="LocalNameInverse" value="<form:value name="LocalNameInverse"/>" /><br/>
|
||||
<i>Edit via "change URI"</i><br/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="text" name="LocalNameInverse" class="fullWidthInput" value="<form:value name="LocalNameInverse"/>" /><br/>
|
||||
<input type="text" class="fullWidthInput" name="LocalNameInverse" value="<form:value name="LocalNameInverse"/>" /><br/>
|
||||
<i>must be a valid XML name without spaces; by</i><br/>
|
||||
<i>convention use camel case with no initial capital</i><br/>
|
||||
</c:otherwise>
|
||||
|
@ -89,8 +89,8 @@
|
|||
</c:if>
|
||||
</td>
|
||||
<td valign="top" style="vertical-align:top;" colspan="2">
|
||||
<b>Inverse property label</b><br/><br/>
|
||||
<input type="text" name="RangePublic" value="<form:value name="RangePublic"/>" class="fullWidthInput" maxlength="80" /><br/>
|
||||
<b>Inverse property label</b><br/>
|
||||
<input type="text" class="fullWidthInput" name="RangePublic" value="<form:value name="RangePublic"/>" maxlength="80" /><br/>
|
||||
<br/>
|
||||
<c:set var="RangePublicError"><form:error name="RangePublic"/></c:set>
|
||||
<c:if test="${!empty RangePublicError}">
|
||||
|
@ -98,7 +98,7 @@
|
|||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Domain class</b><br />
|
||||
|
@ -109,7 +109,7 @@
|
|||
<select name="RangeVClassURI" ><form:option name="RangeVClassURI"/></select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Make this property be:</b><br/><br/>
|
||||
|
@ -123,7 +123,7 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td valign="top" colspan="1">
|
||||
<br/><br/>
|
||||
<br/>
|
||||
<c:choose>
|
||||
<c:when test="${symmetric}">
|
||||
<input name="Symmetric" type="checkbox" value="TRUE" checked="checked"/> symmetric
|
||||
|
@ -134,7 +134,7 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td valign="top" colspan="1">
|
||||
<br/><br/>
|
||||
<br/>
|
||||
<c:choose>
|
||||
<c:when test="${functional}">
|
||||
<input name="Functional" type="checkbox" value="TRUE" checked="checked"/> functional
|
||||
|
@ -145,7 +145,7 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td valign="top" colspan="1">
|
||||
<br/><br/>
|
||||
<br/>
|
||||
<c:choose>
|
||||
<c:when test="${inverseFunctional}">
|
||||
<input name="InverseFunctional" type="checkbox" value="TRUE" checked="checked"/> inverse functional
|
||||
|
@ -156,22 +156,22 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="5">
|
||||
<b>Public Description</b> for front-end users, as it will appear on editing forms<br/>
|
||||
<textarea name="PublicDescription"><form:value name="PublicDescription"/></textarea>
|
||||
<textarea class="matchingInput" name="PublicDescription"><form:value name="PublicDescription"/></textarea>
|
||||
<c:set var="PublicDescriptionError"><form:error name="PublicDescription"/></c:set>
|
||||
<c:if test="${!empty PublicDescriptionError}">
|
||||
<span class="notice"><c:out value="${PublicDescriptionError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="5">
|
||||
<b>Example</b> for ontology editors<br/>
|
||||
<input type="text" name="Example" style="width:90%;" value="<form:value name="Example"/>" />
|
||||
<input type="text" class="fullWidthInput" name="Example" value="<form:value name="Example"/>" />
|
||||
<c:set var="ExampleError"><form:error name="Example"/></c:set>
|
||||
<c:if test="${!empty ExampleError}">
|
||||
<span class="notice"><c:out value="${ExampleError}"/></span>
|
||||
|
@ -181,14 +181,14 @@
|
|||
<tr class="editformcell">
|
||||
<td valign="top" colspan="5">
|
||||
<b>Description</b> for ontology editors<br/>
|
||||
<textarea name="Description" style="width:90%;"><form:value name="Description"/></textarea>
|
||||
<textarea class="matchingInput" name="Description" style="width:90%;"><form:value name="Description"/></textarea>
|
||||
<c:set var="DescriptionError"><form:error name="Description"/></c:set>
|
||||
<c:if test="${!empty DescriptionError}">
|
||||
<span class="notice"><c:out value="${DescriptionError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Display level</b><br />
|
||||
|
@ -201,11 +201,11 @@
|
|||
<i>specify least restrictive level allowed</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="1">
|
||||
<b>Display tier</b> for this property<br/>
|
||||
<input type="text" name="DomainDisplayTier" value="<form:value name="DomainDisplayTier"/>" /><br/>
|
||||
<input type="text" class="shortInput" name="DomainDisplayTier" value="<form:value name="DomainDisplayTier"/>" /><br/>
|
||||
<i><b>lower</b> numbers display first</i><br/>
|
||||
<c:set var="DomainDisplayTierError"><form:error name="DomainDisplayTier"/></c:set>
|
||||
<c:if test="${!empty DomainDisplayTierError}">
|
||||
|
@ -214,7 +214,7 @@
|
|||
</td>
|
||||
<td valign="top" colspan="2">
|
||||
<b>Display tier</b> for inverse property<br/>
|
||||
<input type="text" name="RangeDisplayTier" value="<form:value name="RangeDisplayTier"/>" /><br/>
|
||||
<input type="text" class="shortInput" name="RangeDisplayTier" value="<form:value name="RangeDisplayTier"/>" /><br/>
|
||||
<i><b>lower</b> numbers display first</i><br/>
|
||||
<c:set var="RangeDisplayTierError"><form:error name="RangeDisplayTier"/></c:set>
|
||||
<c:if test="${!empty RangeDisplayTierError}">
|
||||
|
@ -222,7 +222,7 @@
|
|||
</c:if>
|
||||
</td>
|
||||
<td valign="top" colspan="2">
|
||||
When displaying related individuals from different classes,<br/><br/>
|
||||
When displaying related individuals from different classes,<br/>
|
||||
<c:choose>
|
||||
<c:when test="${collateBySubclass}">
|
||||
<input name="CollateBySubclass" type="checkbox" value="TRUE" checked="checked"/>collate by subclass
|
||||
|
@ -233,11 +233,11 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Number</b> of individuals to display<br/>
|
||||
<input type="text" name="DomainDisplayLimit" value="<form:value name="DomainDisplayLimit"/>" /><br/>
|
||||
<input type="text" class="shortInput" name="DomainDisplayLimit" value="<form:value name="DomainDisplayLimit"/>" /><br/>
|
||||
<i>before showing a "more ..." button</i><br/>
|
||||
<c:set var="DomainDisplayLimitError"><form:error name="DomainDisplayLimit"/></c:set>
|
||||
<c:if test="${!empty DomainDisplayLimitError}">
|
||||
|
@ -246,7 +246,7 @@
|
|||
</td>
|
||||
<td valign="top" colspan="3">
|
||||
<b>Sort direction</b> for related individuals, alphabetically by their name (rdfs:label)<br/>
|
||||
<input type="text" name="DomainEntitySortDirection" value="<form:value name="DomainEntitySortDirection"/>" /><br/>
|
||||
<input type="text" class="shortInput" name="DomainEntitySortDirection" value="<form:value name="DomainEntitySortDirection"/>" /><br/>
|
||||
<i>blank for ascending, "desc" for descending</i><br/>
|
||||
<i><b>Note:</b> will be ignored if a custom list view has been configured for this property</i><br/>
|
||||
<c:set var="DomainEntitySortDirectionError"><form:error name="DomainEntitySortDirection"/></c:set>
|
||||
|
@ -255,10 +255,10 @@
|
|||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
Select related individuals from existing choices?<br/><br/>
|
||||
Select related individuals from existing choices?<br/>
|
||||
<c:choose>
|
||||
<c:when test="${selectFromExisting}">
|
||||
<input name="SelectFromExisting" type="checkbox" value="TRUE" checked="checked"/>provide selection
|
||||
|
@ -269,7 +269,7 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td valign="top" colspan="2">
|
||||
Allow creating new related individuals?<br/><br/><br/>
|
||||
Allow creating new related individuals?<br/><br/>
|
||||
<c:choose>
|
||||
<c:when test="${offerCreateNewOption}">
|
||||
<input name="OfferCreateNewOption" type="checkbox" value="TRUE" checked="checked"/>offer create option
|
||||
|
@ -280,13 +280,13 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td valign="top" colspan="1">
|
||||
<b>Custom entry form</b><br/><br/>
|
||||
<input type="text" name="CustomEntryForm" class="fullWidthInput" value="<form:value name="CustomEntryForm"/>" />
|
||||
<b>Custom entry form</b><br/>
|
||||
<input type="text" class="fullWidthInput" name="CustomEntryForm" value="<form:value name="CustomEntryForm"/>" />
|
||||
<c:set var="CustomEntryFormError"><form:error name="CustomEntryForm"/></c:set>
|
||||
<c:if test="${!empty CustomEntryFormError}">
|
||||
<span class="notice"><c:out value="${CustomEntryFormError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue