[jboss-user] [JBoss Portal] - Re: How to create a new Portlet Instance using API

aspdeepak do-not-reply at jboss.com
Fri Jan 23 01:58:27 EST 2009


Window w = currentPage.createWindow(portalWindowName,ContentType.PORTLET,instanceId);
log.info(" window["+w+"] is assigned with portlet ["+instanceId+"] successfully");
						
						w.setDeclaredProperty(ThemeConstants.PORTAL_PROP_REGION,region);
						w.setDeclaredProperty(ThemeConstants.PORTAL_PROP_ORDER, "" + Integer.MAX_VALUE);	

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

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



More information about the jboss-user mailing list