4 Replies Latest reply on Dec 20, 2005 1:27 PM by nmazloumi

    Changing portlets and pages on a running system?

    nmazloumi

      Is it possible to change pages and portlets on a running server? At the moment I always have to restart the server before the changes are visible.

        • 1. Re: Changing portlets and pages on a running system?

          hmm, works for me. What exactly are you doing ?

          • 2. Re: Changing portlets and pages on a running system?
            nmazloumi

            There are several files I use:

            *-pages.xml, portlet.xml, portlet-instances.xml

            When I edit these pages under
            jboss\server\default\deploy\myportal.war
            nothing happens. I guess I need to touch the web.xml file so that JBoss recognizes changes?

            Another problem is that JBP doesn't seem to support sub-pages, right? I was thinking of creating a main portal with pages that can have sub-pages in order to define a site structure. How can I solve this? One thing I thought is to use a javascript menu and several portals, thus each portal would represent the a node in the tree. Is there any easier way?

            • 3. Re: Changing portlets and pages on a running system?

              you are using portal 2.2, right ?

              there is a new descriptor that replaces the old 2.0 style ones.
              *-object.xml combines the -pages, -portal , and -instance descriptors.

              If you are on 2.0 , then you're right: you need to restart to get the changes to be recognized. A touch of the web.xml of the containing war should do the trick as well, since it's a deployer that picks up the descriptors, but I haven't tested that myself to be honest.

              Subpages:
              again, you dre correct for 2.0, however 2.2 does have subpages. If you look at the OTB portal, the elements in the tabbed navigation are the top level pages of the default portal, if you pick any of those pages, the menu portlet in the left region shows the subpages of that selected top level page. I think this comes close to what you are describing here ....

              • 4. Re: Changing portlets and pages on a running system?
                nmazloumi

                Sorry but can you kindly explain what you mean with OTB portal and where I can find it?