2 Replies Latest reply on Dec 15, 2005 4:34 AM by Mohit Mehta

    How to aggregate two portlet application in one page.

    Mohit Mehta Newbie

      Hi

      I am very new to Portal and Portlet application.
      Today i finally deployed my HelloWorld portlet successfully.

      Now i want to aggregate two different portlet application to same page in Jboss Portal.

      Can anyone give me steps to aggreagate two portlet application in same page?[or portal]

      Thank you in advance.
      Mohit

        • 1. Re: How to aggregate two portlet application in one page.
          Alexander Grünewald Newbie

          I guess that you should edit the XML deployment descriptors to configure/setup your portal. With JBoss Portal 2.2 these are the files with names like WEB-INF/xxxxx-portal.xml and WEB-INF/yyyyyy-object.xml. You should deploy them with one of your portlet applications. So what these files are doing? They define the portal structure for instance theme, layout, pages and of course the portlets arranged on the pages. The XML descriptor files are well documented at http://www.jboss.org/products/jbossportal/docs
          You could also look at the files already deliverd with JBoss Portal, which are:

          JBOSS_PORTAL_2.2//server/default/deploy/jboss-portal.sar/portal-core.war/WEB-INF/default-portal.xml
          JBOSS_PORTAL_2.2/server/default/deploy/jboss-portal.sar/portal-samples.war/WEB-INF/default-object.xml

          Possibly there is also a way to arrange portlets on pages using an administration portlet of JBoss Portal. But i never tried that.

          • 2. Re: How to aggregate two portlet application in one page.
            Mohit Mehta Newbie

            Hi

            Thank you very much gruenewa.

            Now I am able to deploy multiple portlet on same page by modifing
            *-object.xml file.

            Does anyone tell me or guide about how to integrate our normal J2EE application with Portlet and Portal?

            Thank you once again.

            Mohit