<% for (Property p : g.getPropertyList()) {%>
<% if (p instanceof ObjectProperty) {
ObjectProperty op = (ObjectProperty)p;%>
${objProp.editLabel}
<% /* arbitrary limit if value is unset, i.e. -1 */ %>
<%--
<% ObjectPropertyStatement oStmt = (ObjectPropertyStatement)request.getAttribute("opStmt");
if (oStmt!=null) {
Individual obj= (Individual)oStmt.getObject();
if (obj != null) {
if (!obj.doesFlag1Match(currentPortalId)) {%>
<% }
}
}%>
--%>
${editLinks}
(non-editable)
<% } else if (p instanceof DataProperty) {
DataProperty dp = (DataProperty)p;%>
${dataProp.editLabel}
<%-- just put in a single "edit" link, not an "add" link that expands to reveal edit/delete links --%>
${editLinks}
(non-editable)
<%-- creates an add link, even if displayLimit is unset, i.e. -1 --%>
<%-- set to an arbitrary but high positive limit if unset on property, i.e. -1 --%>
<%-- don't leave just one statement to expand --%>
<%-- c:if test="${displayLimit < 0}">
${dataPropertyStmt.data}
${editLinks}
(non-editable)
${dataPropertyStmt.data}
${editLinks}
(non-editable)
<% } else { // keyword property -- ignore
if (p instanceof KeywordProperty) {%>
Not expecting keyword properties here.
<% } else {
log.warn("unexpected unknown property type found");%>
Unknown property type found
<% }
}
%>
<%
} // end for (Property p : g.getPropertyList()
%>