Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在JBossPortal中创建子页面_Jboss_Portlet_Portal - Fatal编程技术网

如何在JBossPortal中创建子页面

如何在JBossPortal中创建子页面,jboss,portlet,portal,Jboss,Portlet,Portal,如何在JBossPortal中创建子页面。 我的*pages-object.xml中有以下结构。我需要在主页下创建一个2页2个Portlet。请帮我做到这一点 <deployment> <if-exists>overwrite</if-exists> <parent-ref>palm</parent-ref> <page> <page-name>Home</page-

如何在JBossPortal中创建子页面。 我的*pages-object.xml中有以下结构。我需要在主页下创建一个2页2个Portlet。请帮我做到这一点

<deployment>
    <if-exists>overwrite</if-exists>
    <parent-ref>palm</parent-ref>
    <page>
        <page-name>Home</page-name>
        <supported-locale>en</supported-locale>
        <properties>
            <property>
                <name>order</name>
                <value>1</value>
            </property>
        </properties>
    </page>
</deployment>

覆盖
棕榈
家
EN
顺序
1.
谢谢,
Sam

要创建子页面,您必须向xml文件中添加另一个
部署
元素,
父ref
元素应包含父
父ref
和父
页面名
palm.Home
的串联

<deployment>
  <parent-ref>palm.Home</parent-ref>
  <if-exists>overwrite</if-exists>
  <page>
    <page-name>Child1</page-name>
    <properties>
      <property>
        <name>order</name>
        <value>1</value>
      </property>
    </properties>
    <window>
      <window-name>myWindow</window-name>
      <instance-ref>myPortlet<!--Instance id of your portlet from portlet-instances.xml--></instance-ref>
      <region>myRegion<!--Name of the region in your layout where this portlet should be put--></region>
      <height>1</height>
    </window>
  </page>
</deployment>

棕榈树,家
覆盖
孩子1
顺序
1.
我的窗口
myPortlet
myRegion
1.