VIVO-774 show list of faux properties on the Property Editing page.
This commit is contained in:
parent
59706a4266
commit
02ac3944e0
8 changed files with 530 additions and 235 deletions
|
@ -91,6 +91,43 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _____________________________________________ faux properties __________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty fauxproperties}">
|
||||
<c:forEach var="fauxproperty" items="${fauxproperties}">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:url var="fauxpropertyURL" value="fauxpropertyEdit">
|
||||
<c:param name="property" value="${property.URI}"/>
|
||||
<c:param name="domain" value="${fauxproperty.domainURI}" />
|
||||
<c:param name="range" value="${fauxproperty.rangeURI}" />
|
||||
</c:url>
|
||||
<li>
|
||||
<a href="${fauxpropertyURL}">${fauxproperty.pickListName}</a>
|
||||
<c:choose>
|
||||
<c:when test="${empty fauxproperty.domainLabel}">
|
||||
no domain,
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
domain: ${fauxproperty.domainLabel},
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
range: ${fauxproperty.rangeLabel}
|
||||
</li>
|
||||
</ul>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="basepropertyURI" value="${property.URI}"/>
|
||||
<input type="hidden" name="controller" value="FauxProperty"/>
|
||||
<input type="submit" class="form-button" value="Create New Faux Property"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _____________________________________________ superproperties __________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue