You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/10/03 21:25:50 UTC

[jira] Closed: (SLING-35) Allow relative path names in scripted component descriptions

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

Felix Meschberger closed SLING-35.
----------------------------------

    Resolution: Fixed

Added AbstractScriptHandler providing a method to resolve relative script paths against the component path in Rev. 581699.

Have the JSP script handler extend the new AbstractScriptHandler and call the resolve method to make sure the path is absolute in Rev. 581700.

> Allow relative path names in scripted component descriptions
> ------------------------------------------------------------
>
>                 Key: SLING-35
>                 URL: https://issues.apache.org/jira/browse/SLING-35
>             Project: Sling
>          Issue Type: Improvement
>          Components: JSP
>    Affects Versions: 2.0.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> Consider a ScriptedComponent stored in the repository where the scripts are stored below the ScriptedComponent node. It would be desirable that in this situation, the path name to the script may be specified as a relative path such that the ScriptedComponent subtree may easily be relocated without requiring the definition to be updated.

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