1 Reply Latest reply on Nov 15, 2006 12:18 PM by peterj

    How to develop portal

    surajit2k2

      Hi ,

      I want to create my own portal application. There would be a main jsp(html) page which would contain portlets.
      Is there any available link to show how to develop user application (portal pages) using portlet.
      I know how to create portal and deploy on JBoss via CMS , but I want to deploy the portlets on my application.

      Please help
      -Surajit

        • 1. Re: How to develop portal
          peterj

          I assume that you mean you want to create a custom portal which when used by your customers displays your portal, and not the default portal. If so, here is what I would do:

          1) Make a copy of jboss-portal.sar
          2) Edit jboss-portal.sar/conf/data/default-object.xml to contain your portal's layout (keep the portal name as 'default', though)
          3) Delete jboss-portal.sar/portal-samples.war/WEB-INF/default-object.xml (this file defines the Test page, which you will not want)
          4) If your portal contains custom portlets, places their war files under jboss-portal.sar (this is required only if you reference the portlets in the default-object.xml from step 2)
          5) Create your own custom theme (so you portal announces itself as your portal and not the JBoss Portal) The Portal docs contains a detailed chapter on designing a theme, or you could make a copy of one of the existing themes at jboss-portal.sar/portal-core.war/themes and then use GIMP or Photoshop to edit the existing images.
          6) Starting with a clean database and JBoss server, deploy the updated jboss-portal.sar.

          I hope I didn't forget any steps, but I think that the above is all you need to know.