[jboss-user] [JBoss Portal] - Portlets on differents wars to same page
samppaa
do-not-reply at jboss.com
Tue Aug 12 04:04:42 EDT 2008
Hello,
I'm trying to get two portlets on different wars to be installed on same page in JBP when I deploy them but with no luck.
I'm using JBP 2.6.5-SP1 and JBAS 4.2.2.
I have A.war that has PortletA in it with following portal-object.xml
| <deployments>
| <deployment>
| <parent-ref>default</parent-ref>
| <if-exists>keep</if-exists>
| <page>
| <page-name>Test</page-name>
| <window>
| <window-name>testa</window-name>
| <instance-ref>PortletAInstance</instance-ref>
| <region>left</region>
| <height>1</height>
| </window>
| </page>
| </deployment>
| </deployments>
|
And B.war with that has portletB and following portal-object.xml
| <deployments>
| <deployment>
| <parent-ref>default</parent-ref>
| <if-exists>keep</if-exists>
| <page>
| <page-name>Test</page-name>
| <window>
| <window-name>testb</window-name>
| <instance-ref>PortletBInstance</instance-ref>
| <region>left</region>
| <height>1</height>
| </window>
| </page>
| </deployment>
| </deployments>
|
Both wars are deployed correctly and portlet instances are created but on the "Test" page only one of the portlets is shown. Am I doing something wrong or is this something that cannot be done automatically? (I can get the portlets on the same page using admin console)
Thanks in advance,
Samppa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170016#4170016
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170016
More information about the jboss-user
mailing list