Commit 0b108dfb authored by Matija Obreza's avatar Matija Obreza

New jetty does not allow ${foo.class.name}, using getClass().name

parent 588336b3
......@@ -18,7 +18,7 @@
</h1>
<security:authorize access="hasRole('ADMINISTRATOR') or hasPermission(#crop, 'ADMINISTRATION')">
<a href="<c:url value="/acl/${crop.class.name}/${crop.id}/permissions"><c:param name="back">/c/${crop.shortName}</c:param></c:url>" class="close"> <spring:message code="edit-acl" /></a>
<a href="<c:url value="/acl/${crop.getClass().name}/${crop.id}/permissions"><c:param name="back">/c/${crop.shortName}</c:param></c:url>" class="close"> <spring:message code="edit-acl" /></a>
</security:authorize>
<div class="free-text">
......
......@@ -12,7 +12,7 @@
</h1>
<security:authorize access="hasRole('ADMINISTRATOR') or hasPermission(#clientDetails, 'ADMINISTRATION')">
<a href="<c:url value="/acl/${clientDetails.class.name}/${clientDetails.id}/permissions"><c:param name="back">/management/${clientDetails.clientId}/</c:param></c:url>" class="close"> <spring:message code="edit-acl" /></a>
<a href="<c:url value="/acl/${clientDetails.getClass().name}/${clientDetails.id}/permissions"><c:param name="back">/management/${clientDetails.clientId}/</c:param></c:url>" class="close"> <spring:message code="edit-acl" /></a>
<a href="<c:url value="/management/${clientDetails.id}/edit" />" class="close">
<spring:message code="edit" />
</a>
......
......@@ -44,7 +44,7 @@
<div class="">
<security:authorize access="hasRole('ADMINISTRATOR') or hasPermission(#faoInstitute, 'ADMINISTRATION')">
<a href="<c:url value="/acl/${faoInstitute.class.name}/${faoInstitute.id}/permissions"><c:param name="back">/wiews/${faoInstitute.code}</c:param></c:url>" class="close"> <spring:message code="edit-acl" /></a>
<a href="<c:url value="/acl/${faoInstitute.getClass().name}/${faoInstitute.id}/permissions"><c:param name="back">/wiews/${faoInstitute.code}</c:param></c:url>" class="close"> <spring:message code="edit-acl" /></a>
<a href="<c:url value="/wiews/${faoInstitute.code}/edit" />" class="close">
<spring:message code="edit" />
</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment