2 Replies Latest reply on Feb 8, 2006 10:06 AM by tok

    MANAGEMENT PORTLET

    ego2002

      Hi everybody!

      I've just installed 2.2 portal version and I've tried the management portlet to create new pages...
      It looks like it works well, but where are new pages saved phisically? In wich file? Where does JBoss load them from?
      Another question: is it possible to have a portlet displayed on the right of the page? Because you can specify only left, center or navigation as positions...
      What does "unknown" position mean?

      Thanks!

      Il Dima

        • 1. Re: MANAGEMENT PORTLET

           

          "ego2002" wrote:

          I've just installed 2.2 portal version and I've tried the management portlet to create new pages...
          It looks like it works well, but where are new pages saved phisically? In wich file? Where does JBoss load them from?


          They are stored in the database (via Hibernate)

          "ego2002" wrote:

          Another question: is it possible to have a portlet displayed on the right of the page? Because you can specify only left, center or navigation as positions...


          yes, all you need to do is add that 'region' to your layout. Effectively, you add a region tag to the JSP that 'filters' for the 'right' region. Then, in your page definition, you assign portlets to the 'right' region. That gets the markup on the page. Then you can style it (and even position it again) via
          the theme CSS. Check out the regionA, regionB and regionC selectors for examples.

          "ego2002" wrote:

          What does "unknown" position mean?


          We added the region names of a layout to the layout meta data (portal-layouts.xml). But that is only a convenience , and it is not enforced. In other words: pages can assign portlets to other regions as well, even though those regions might not exist in the layout you are using for the page. To give you at least a hint about that, we display those portlets in the 'unknown' area (which is a collector for all portlets that are assigned to regions that are not available on the currently selected layout according to the layout meta data). Note that the layout jsp could still have a region tag that actually filters for any of those unknown regions, and someone just forgot to update the layout meta data. Confusing , I know ;)


          • 2. Re: MANAGEMENT PORTLET
            tok

             

            mholzner wrote:
            They are stored in the database (via Hibernate)


            mholzner, an question, what is name of the table where the page and portlet are save

            please sorry by my english