Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Scripting JSP-Taglib 2.2.4
-
None
Description
Similar to SLING-5653 the getProperty tag cannot handle an expression for its returnClass parameter.
I.e. the following causes a ClassCastException:
<c:set var="type" value="java.util.Calendar"/> <sling:getProperty properties="${props}" key="jcr:created" var="created" returnClass="${type}" />
Attachments
Issue Links
- relates to
-
SLING-5653 adaptTo tag fails when adaptTo parameter is an expression
- Closed