说我有以下目录结构:
页面myPage包含列表组件。 访问http://localhost:4502/content/mysite/mypage.renditions.overview.html之类的网址时,会使用overview.jsp脚本。 但是,对于http://localhost:4502/content/mysite/mypage.renditions.full.overview.html,将使用listcomponent.jsp脚本。
我希望在这种情况下加载full.overview.jsp。我究竟做错了什么?
答案 0 :(得分:3)
在这种情况下,你的overview.jsp应该是完整的文件夹,如下所示:
listcomponent
演绎
overview.jsp
全
这是类似的答案帖子。 Sling Resolution script calling order
希望这会有所帮助。