Is there a way how can I instantiate portlets from another portal? 

I have created new WAR file containing portlet-instances.xml as well as 
refproj-portal.xml. I wanted to instatiate ContentPortlet (defined in default 
portal - portal-core.war) with different URI property, therefore I wrote this 
into portlet-instances.xml:
   <instance>
  |       <instance-name>MyContentPortletInstance</instance-name>
  |       <component-ref>ContentPortlet</component-ref>
  |       <preferences>
  |          <preference>
  |             <name>uri</name>
  |             <value>/refproj/page2/index.html</value>
  |          </preference>
  |       </preferences>
  |    </instance>

Than I used this "MyContentPortletInstance" in my portal page, but when I 
browsed the page, the Portlet was not rendered. I found that the 
ViewInterceptor doesn't put window containing this Portlet into list of windows 
to render, because it's state is REGISTERED (and not STARTED).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887635#3887635

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887635


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to