This JSP function is used to determine if modification is permitted for a certain attribute for the current entity.
boolean isModificationAllowed(String name, String allowModBinding)
name - Required. Path in the target XML attribute. If this attribute is modifiable for the current entity's status, the function returns true. If it is not modifiable, the function returns false.
allowModBinding - Required. Binding string that points to a set of elements containing modification types that are permitted for the current status.
This example shows how the table footer containing the dynamic add rows feature can be included in a page based on whether or not add rows is permitted for the current order.
<%if (isModificationAllowed("xml:/@AddInstruction",
"xml:/Order/AllowedModifications"))
{%>
<tr>
<td nowrap="true" colspan="3">
<jsp:include page="/common/editabletbl.jsp" >
</jsp:include>
</td>
</tr>
<%}%>