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
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.