[jboss-user] [JBoss Portal] - Re: Packaging portlets for deployment
apemberton
do-not-reply at jboss.com
Thu Jul 30 11:44:36 EDT 2009
Yes, this is no problem. You can package all of your portlets inside a single .war file.
You'll just define each portlet in your (single) portlet.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app ...>
<display-name>PortletOne</display-name>
<portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
<display-name>PortletTwo</display-name>
<portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
</portlet-app>
See the relevant portlet spec (either jsr168 or 286) for your portal server version. Hope this is helpful.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247045#4247045
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247045
More information about the jboss-user
mailing list