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

[jira] Commented: (SLING-1479) Add JSP Tag for new script resolution

    [ https://issues.apache.org/jira/browse/SLING-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854864#action_12854864 ] 

Carsten Ziegeler commented on SLING-1479:
-----------------------------------------

I think a slightly better name for the tag would be <sling:eval>

> Add JSP Tag for new script resolution
> -------------------------------------
>
>                 Key: SLING-1479
>                 URL: https://issues.apache.org/jira/browse/SLING-1479
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>    Affects Versions: Scripting JSP-Taglib 2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting JSP-Taglib 2.0.8
>
>
> SLING-585 brings new Script/Servlet resolution API to find an explicitly named script according to a resource type hiearchy.
> This functionality should be reflected in a new JSP tag, e.g. along the lines:
>     <sling:call script=... resource=... resourceType=... noResourceType=.... />
> where:
>     script is a path to a script
>     resource is a resource whose resource type hierarchy is used to resolve the script
>     resourceType is a resource type hierarchy to resolve the script
>     noResourceType prevents using resource type hiearchy if set to true (default: false)
> If neither resource nor resource type are declared, the script is resolved according to the type hierarchy of the request's resource.

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


Re: [jira] Commented: (SLING-1479) Add JSP Tag for new script resolution

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

On 08.04.2010 10:25, Carsten Ziegeler (JIRA) wrote:
> I think a slightly better name for the tag would be <sling:eval>

Sounds good.

Regards
Felix