我正在使用AEM資源解析器,並且我目前在Adobe Sling資源解析器工廠上有以下配置。AEM資源解析器失敗
/content/mywebsite/>/
我有這樣的從組件生成一個標記,看起來像:
<a data-desktop='/content/mywebsite/desktop.html'
data-android-href='/content/mywebsite/android.html'
data-ios-href='/content/mywebsite/mywebsite/ios.html'
href='/content/mywebsite/normal.html'>Click here</a>
這應該有理想得到解決的東西likeL
<a data-desktop='/desktop.html'
data-adroid-href='/android.html'
data-ios-href='ios.html'
href='/normal.html'>Click here</a>
具有諷刺意味的是最後上面的標籤中的href也沒有被資源解析器解析,我仍然在調度器上得到未解析的URL。
只有<a href='/content/mywebsite/something.html></a>'
的標籤的所有其他資源解析器都得到解決。我不明白爲什麼資源解析器不會選擇具有多個數據元素的解析器。