Hello everyone,
I have a URL for example "http://help-forums.adobe.com/content/adobeforums:test/" when I provide this URL in href, the output that i get is "http://help-forums.adobe.com/content/_adobeforums_test/".
More Details:
Suppose properties.link = http://help-forums.adobe.com/content/adobeforums:test/
<a href="${properties.link @ context='unsafe'}">Support </a> //this doesn't work
but if i append .html at the end of the URL it works.
<a href="${properties.link @ context='unsafe'}.html">Support </a> //this works
Why doesn't it work when we don't have .html in the URL?
Views
Replies
Total Likes
This is Sling related, with the extension you basically point how you want to render the content.
As correctly pointed by Feike,
This is sling resolution, please have a look at this URL to Script Resolution documentation :-
Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/the-basics.html
Preference order is Selector + Extention > Selector > Extention > Method of call (get,post etc).
~kautuk
Views
Replies
Total Likes
Hi,
if the question about the ":" character: This character is special and if it's encountered the namespace mangling of Sling kicks in and translates it into "_namespace_".
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies