You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Mark Adamcin (JIRA)" <ji...@apache.org> on 2010/04/25 04:41:52 UTC

[jira] Updated: (SLING-1500) Patch Submission: Expression Language (EL) Functions for JSP Taglib

     [ https://issues.apache.org/jira/browse/SLING-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Adamcin updated SLING-1500:
--------------------------------

    Attachment: jsp-taglib-patch.zip

Zip file containing the following files:

src/main/java/org/apache/sling/scripting/jsp/taglib/Functions.java
src/main/java/org/apache/sling/scripting/jsp/taglib/WrappedResourceIterator.java
src/main/resources/META-INF/taglib11.tld.diff

> Patch Submission: Expression Language (EL) Functions for JSP Taglib
> -------------------------------------------------------------------
>
>                 Key: SLING-1500
>                 URL: https://issues.apache.org/jira/browse/SLING-1500
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting JSP-Taglib 2.0.6
>            Reporter: Mark Adamcin
>         Attachments: jsp-taglib-patch.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.