[jboss-user] [JBoss Portal] - Re: Deploy new portal using existing portlets

PeterJ do-not-reply at jboss.com
Mon Feb 12 17:44:56 EST 2007


I went back and looked at what I did earlier, and it turns out I gave you bad information because I remembered it wrong. Do this instead.

First, in portlet.xml, create a new portlet using the CSM portlet class, like this:

<portlet>
  |   <portlet-name>NewCmsPortlet</portlet-name>
  |   <portlet-class>org.jboss.portal.core.portlet.cms.CMSPortlet</portlet-class>
  |   . . .
  | <portlet>

Then in the portlet-instances.xml file, refer use NewCmsPortlet as the portlet name.

Not quit the same as creating new instances of an existing protlet, but close enough.



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

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



More information about the jboss-user mailing list