hello.
I think I have solved it by doing this:
| try{
| w = page.createWindow("DocumentCell");
| } catch ( Exception ex ) {
| ex.printStackTrace();
| }
| InstanceImpl inst = new InstanceImpl();
| String instanceId = "DocumentCell01";
| inst.setInstanceId(instanceId);
| inst.setPortletRef("DocumentPortlet");
| w.setInstanceRef(instanceId);
Where page is an instance of org.jboss.portal.core.model.portal.Page
This way I create an instance and reference it by the window. Or have I missed
something?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037621#4037621
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037621
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user