0

我有一个“联系”页面,我已经可以在我的 /bootstrap/configuration 文件夹下看到它。 在此处输入图像描述

我在 /bootstrap/configuration 文件夹下的 hippoecm-extension.xml 中添加了以下内容:

<!-- hst configuration nodes -->
  <sv:node sv:name="scc-hst-hosts">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>hippo:initializeitem</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:sequence" sv:type="Double">
      <sv:value>30052</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:contentresource" sv:type="String">
      <sv:value>hst/hosts.xml</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:contentroot" sv:type="String">
      <sv:value>/hst:hst</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
      <sv:value>true</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:version" sv:type="String">
      <sv:value>2.01.15-SNAPSHOT</sv:value>
    </sv:property>
  </sv:node>

但是,当我重建并启动项目时,控制台中仍然没有“联系”页面! 在此处输入图像描述

我错过了什么?

4

1 回答 1

0

您是否引用了正确的文件?似乎您想加载一个新的页面类型,但您的 xml 引用了一个名为 hosts.xml 的文件。

于 2015-04-13T08:27:25.163 回答