2010-01-29 22:13:57 +00:00
|
|
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
|
|
|
|
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
2012-06-05 16:00:57 +00:00
|
|
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
|
|
|
<%-- colspan set to 4 in DatapropRetryController.java --%>
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="1">
|
|
|
|
<b>Public Name</b><br/><i>as will display on public pages</i><br/>
|
2010-01-29 22:13:57 +00:00
|
|
|
<input name="PublicName" value="<form:value name="PublicName"/>"/>
|
2011-11-23 17:11:27 +00:00
|
|
|
<c:set var="PublicNameError"><form:error name="PublicName"/></c:set>
|
|
|
|
<c:if test="${!empty PublicNameError}">
|
|
|
|
<span class="notice"><c:out value="${PublicNameError}"/></span>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:if>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
|
|
|
<td valign="top" colspan="1">
|
|
|
|
<b>Property Group</b><br/>
|
|
|
|
<i>(for display headers and dashboard)</i><br/>
|
|
|
|
<select name="GroupURI">
|
|
|
|
<form:option name="GroupURI"/>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td valign="bottom" colspan="1">
|
|
|
|
<b>Display Level</b><br /><i>(specify least restrictive level allowed)</i><br/>
|
|
|
|
<select name="HiddenFromDisplayBelowRoleLevelUsingRoleUri"><form:option name="HiddenFromDisplayBelowRoleLevelUsingRoleUri"/></select>
|
|
|
|
</td>
|
|
|
|
<td valign="bottom" colspan="1">
|
|
|
|
<b>Update Level</b><br /><i>(specify least restrictive level allowed)</i><br />
|
|
|
|
<select name="ProhibitedFromUpdateBelowRoleLevelUsingRoleUri"><form:option name="ProhibitedFromUpdateBelowRoleLevelUsingRoleUri"/></select>
|
|
|
|
</td>
|
2012-06-05 16:00:57 +00:00
|
|
|
</tr>
|
2010-01-29 22:13:57 +00:00
|
|
|
<tr class="editformcell">
|
2012-06-05 16:00:57 +00:00
|
|
|
<!-- c:set var="existingLocalName" value="<form:value name='LocalName'/>"/ -->
|
|
|
|
<td valign="top" colspan="2">
|
2010-01-29 22:13:57 +00:00
|
|
|
<b>Ontology</b><br/>
|
|
|
|
<c:choose>
|
|
|
|
<c:when test="${_action eq 'update'}">
|
|
|
|
<i>Change only via the "change URI" button on the previous screen</i><br/>
|
|
|
|
<select name="Namespace" disabled="disabled">
|
|
|
|
<form:option name="Namespace"/>
|
|
|
|
</select>
|
|
|
|
</c:when>
|
|
|
|
<c:otherwise>
|
|
|
|
<i>specifies Namespace</i><br/>
|
|
|
|
<select name="Namespace">
|
|
|
|
<form:option name="Namespace"/>
|
|
|
|
</select>
|
|
|
|
</c:otherwise>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:choose>
|
|
|
|
</td>
|
|
|
|
<td valign="top" colspan="2">
|
2011-11-23 17:11:27 +00:00
|
|
|
<b>Local Name*</b>
|
2010-01-29 22:13:57 +00:00
|
|
|
<c:choose>
|
|
|
|
<c:when test="${_action eq 'update'}">
|
2012-06-05 16:00:57 +00:00
|
|
|
<br/><i>Change only via the "change URI" button on the previous screen</i><br/>
|
2010-01-29 22:13:57 +00:00
|
|
|
<input name="LocalName" value="<form:value name="LocalName"/>" disabled="disabled"/>
|
|
|
|
</c:when>
|
|
|
|
<c:otherwise>
|
|
|
|
<i>(must be a valid XML name)<br/>startLowercaseAndUseCamelStyle</i><br/>
|
|
|
|
<input name="LocalName" value="<form:value name="LocalName"/>"/>
|
|
|
|
</c:otherwise>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:choose>
|
2011-11-23 17:11:27 +00:00
|
|
|
<c:set var="LocalNameError"><form:error name="LocalName"/></c:set>
|
|
|
|
<c:if test="${!empty LocalNameError}">
|
|
|
|
<span class="notice"><c:out value="${LocalNameError}"/></span>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:if>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="2">
|
|
|
|
<b>Domain Class</b><br/>
|
|
|
|
<select name="DomainClassURI">
|
|
|
|
<form:option name="DomainClassURI"/>
|
|
|
|
</select>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
2012-06-05 16:00:57 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="2">
|
|
|
|
<b>Range Datatype</b><br/>
|
|
|
|
<select name="RangeDatatypeURI">
|
|
|
|
<form:option name="RangeDatatypeURI"/>
|
|
|
|
</select>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
|
|
|
<td valign="bottom" colspan="2">
|
|
|
|
<c:set var="functionalLabel" value="<b>Functional property</b> <i>(has at most one value for each individual)</i>" />
|
|
|
|
<c:choose>
|
|
|
|
<c:when test="${functional}">
|
|
|
|
<input name="Functional" type="checkbox" value="TRUE" checked="checked"/>${functionalLabel}
|
|
|
|
</c:when>
|
|
|
|
<c:otherwise>
|
|
|
|
<input name="Functional" type="checkbox" value="TRUE"/>${functionalLabel}
|
|
|
|
</c:otherwise>
|
|
|
|
</c:choose>
|
2012-06-05 16:00:57 +00:00
|
|
|
</td>
|
2010-01-29 22:13:57 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="4">
|
|
|
|
<b>Example</b><br/>
|
|
|
|
<textarea name="Example"><form:value name="Example"/></textarea>
|
2011-11-23 17:11:27 +00:00
|
|
|
<c:set var="ExampleError"><form:error name="Example"/></c:set>
|
|
|
|
<c:if test="${!empty ExampleError}">
|
|
|
|
<span class="notice"><c:out value="${ExampleError}"/></span>
|
|
|
|
</c:if>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
2012-06-05 16:00:57 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="4">
|
|
|
|
<b>Description</b> for ontology editors<br/>
|
2010-01-29 22:13:57 +00:00
|
|
|
<textarea name="Description"><form:value name="Description"/></textarea>
|
2011-11-23 17:11:27 +00:00
|
|
|
<c:set var="DescriptionError"><form:error name="Description"/></c:set>
|
|
|
|
<c:if test="${!empty DescriptionError}">
|
|
|
|
<span class="notice"><c:out value="${DescriptionError}"/></span>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:if>
|
|
|
|
</td>
|
2010-01-29 22:13:57 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="4">
|
|
|
|
<b>Public Description</b> for front-end users, as it will appear on editing forms<br/>
|
|
|
|
<textarea name="PublicDescription"><form:value name="PublicDescription"/></textarea>
|
2011-11-23 17:11:27 +00:00
|
|
|
<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>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
2012-06-05 16:00:57 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="editformcell">
|
|
|
|
<td valign="top" colspan="1">
|
|
|
|
<b>Display Tier</b><br/>
|
2010-01-29 22:13:57 +00:00
|
|
|
<input name="DisplayTier" value="<form:value name="DisplayTier"/>"/>
|
2011-11-23 17:11:27 +00:00
|
|
|
<c:set var="DisplayTierError"><form:error name="DisplayTier"/></c:set>
|
|
|
|
<c:if test="${!empty DisplayTierError}">
|
|
|
|
<span class="notice"><c:out value="${DisplayTierError}"/></span>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:if>
|
|
|
|
</td>
|
|
|
|
<td valign="top" colspan="1">
|
|
|
|
<b>Data Entry Limit</b><br/>
|
2010-01-29 22:13:57 +00:00
|
|
|
<input name="DisplayLimit" value="<form:value name="DisplayLimit"/>"/>
|
2011-11-23 17:11:27 +00:00
|
|
|
<c:set var="DisplayLimitError"><form:error name="DisplayLimit"/></c:set>
|
|
|
|
<c:if test="${!empty DisplayLimitError}">
|
|
|
|
<span class="notice"><c:out value="${DisplayLimitError}"/></span>
|
2012-06-05 16:00:57 +00:00
|
|
|
</c:if>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
|
|
|
<td valign="top" colspan="1">
|
|
|
|
<em>Optional: <b>custom entry form</b></em><br />
|
|
|
|
<input name="CustomEntryForm" size="30" value="<form:value name="CustomEntryForm"/>" />
|
2011-11-23 17:11:27 +00:00
|
|
|
<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>
|
2010-01-29 22:13:57 +00:00
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2012-06-05 16:00:57 +00:00
|
|
|
|