[jboss-user] [JBoss Portal] - Using more than one *object.xml
Rekha Hari
do-not-reply at jboss.com
Fri May 14 07:37:17 EDT 2010
Rekha Hari [http://community.jboss.org/people/rekhahari] created the discussion
"Using more than one *object.xml"
To view the discussion, visit: http://community.jboss.org/message/543068#543068
--------------------------------------------------------------
Hi,
I am trying to use more than one object.xml for configuring a portal, but I am having problem with that.
*file1-object.xml*
<deployments>
<deployment>
<parent-ref />
<if-exists>overwrite</if-exists>
<portal>
<portal-name>myportal</portal-name>
<page>
<page-name>pageone<page-name>
.....
<page>
</portal>
</deployment>
</deployments>
*file2object.xml*
<deployments>
<deployment>
<parent-ref>myportal<parent-ref>
<if-exists>overwrite</if-exists>
<page>
<page-name>pagetwo<page-name>
.....
<page>
</deployment>
</deployments>
If I copy the <page> tag in file2-object.xml into file1-object.xml then everything works fine, but the above does not work. Could you please tell me what I need to change to make the page definition in file2 also apprear in myportal.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/543068#543068]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100514/1ab1ae53/attachment-0001.html
More information about the jboss-user
mailing list