Details
Description
I've noticed that the Sling Resource API is not very accessible for tag- and EL-focused JSP development. In order to promote readable JSP code, I created a set of static methods to implement commonly-used ResourceResolver methods as well as to expose the rather useful ResourceUtil methods as EL functions. The functions use ResourceWrappers to work around the isse https://issues.apache.org/jira/browse/SLING-1414 where the Resource.getPath() method is inaccessible in EL for JcrNodeResource objects.
I've found these taglib functions to be very useful for Day CQ5 development, so I thought I'd offer to contribute them to the project.
Attachments
Attachments
Issue Links
- supercedes
-
SLING-577 Patch Submission: JSP tag to evaluate JCR properties using EL
- Resolved