According to this post from 3 years ago, the only way to display the spring message in the jstl tag is to wrap it in <c:set var="someVar"> , which does the "work", but it seems very far from ideal.
Speed up 3 years, is this the only way to handle this?
Here is my code
It works, but not "perfect"
<c:set var="closeMessage"> <spring:message code='lman.ilr.closeItemDetail'/> </c:set> <dsg:sidePanelContent closePanelText="${closeMessage}">
Does not work, returns the string <spring:message code='lman.ilr.closeItemDetail'/>
<dsg:sidePanelContent closePanelText="<spring:message code='lman.ilr.closeItemDetail'/>">
zmanc source share