[
https://issues.apache.org/jira/browse/SLING-9762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Georg Henzler updated SLING-9762:
---------------------------------
Description:
There should be the possibility to automatically map URIs in HTL. If all URIs
are mapped automatically or not should be globally configurable and then be
overridden if necessary in HTL as follows:
{code}
<a href="${'/content/path/to/page.html' @ mapUri=false}"/>
{code}
If auto-mapping is globally deactivated, the following should allow to activate
it:
{code}
<a href="${'/content/path/to/page.html' @ mapUri=true}"/>
{code}
See https://www.mail-archive.com/[email protected]/msg98145.html for initial
discussion
was:
There should be the possibility to automatically map URIs in HTL. If all URIs
are mapped automatically or not should be globally configurable and then be
overridden if necessary in HTL as follows:
{code}
<a href="${'/content/path/to/page.html' @ mapUri=false}"/>
{code}
If auto-mapping is globally deactivated, the following should allow to activate
it:
{code}
<a href="${'/content/path/to/page.html' @ mapUri=true}"/>
{code}
> Automatic Mapping of URIs in HTL
> --------------------------------
>
> Key: SLING-9762
> URL: https://issues.apache.org/jira/browse/SLING-9762
> Project: Sling
> Issue Type: New Feature
> Components: Scripting
> Reporter: Georg Henzler
> Priority: Major
>
> There should be the possibility to automatically map URIs in HTL. If all URIs
> are mapped automatically or not should be globally configurable and then be
> overridden if necessary in HTL as follows:
> {code}
> <a href="${'/content/path/to/page.html' @ mapUri=false}"/>
> {code}
> If auto-mapping is globally deactivated, the following should allow to
> activate it:
> {code}
> <a href="${'/content/path/to/page.html' @ mapUri=true}"/>
> {code}
> See https://www.mail-archive.com/[email protected]/msg98145.html for
> initial discussion
--
This message was sent by Atlassian Jira
(v8.3.4#803005)