Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-1999

A portal/portlet implementation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • ALL COMPONENTS
    • None

    Description

      Hi devs,
      I am trying to set up a portal/portlet model similar to what is implemented into JIRA user interface.

      The Idea is that every component can "register" its selected screens as system portlets using something like:
      <Portlet portletId="WELCOME" name="Welcome" description="Welcome message" screenPath="component://portal/widget/CommonScreens.xml#welcome" />

      In this case the portal component has registered a welcome screen as "WELCOME" portlet.

      The portlets can later be "mounted" into portals with the entity:
      <PortalPortletAppl portalId="DEFAULT" portletId="WELCOME" columnNum="1" sequenceNum="1" />
      <PortalPortletAppl portalId="DEFAULT" portletId="LOGIN" columnNum="2" sequenceNum="2" />
      <PortalPortletAppl portalId="DEFAULT" portletId="PORTLET001" columnNum="1" sequenceNum="2" />
      <PortalPortletAppl portalId="DEFAULT" portletId="PORTLET002" columnNum="3" sequenceNum="2" />
      <PortalPortletAppl portalId="DEFAULT" portletId="PORTLET003" columnNum="1" sequenceNum="2" />

      In this case the portlets WELCOME, LOGIN, PORTLET001, PORTLET002 and PORTLET003 are mounted into the DEFAULT portal into the indicated solumns and with the indicated order.

      Every portal is defined by the entity:
      <Portal portalId="DEFAULT" name="Default home portal" description="The default OFBiz portal" owner="admin" />

      And is related to a specific user. So every user can have as many portals he needs and a DEFAULT portal can be defined by the admin.

      In the attached zip file there is a very draft implementation of this that I would like so submit to your attention to share ideas about it and eventually develop together.

      Many thanks for your feedbacks,
      Bruno

      Attachments

        1. portalPage-configure-off.jpg
          197 kB
          Bruno Busco
        2. portalPage-configure-on.jpg
          209 kB
          Bruno Busco
        3. portalPageImages.zip
          4 kB
          Bruno Busco
        4. portalPages.patch
          71 kB
          Bruno Busco
        5. portalPages.patch
          68 kB
          Bruno Busco
        6. portalPages.patch
          68 kB
          Bruno Busco
        7. portalPages.patch
          49 kB
          Bruno Busco
        8. portalPages.patch
          48 kB
          Bruno Busco
        9. portalPages.patch
          44 kB
          Bruno Busco
        10. portalPages.patch
          44 kB
          Bruno Busco
        11. portalPages.patch
          39 kB
          Bruno Busco
        12. portalPages.patch
          39 kB
          Bruno Busco
        13. portalPages.patch
          27 kB
          Bruno Busco
        14. portalPages.patch
          16 kB
          Bruno Busco

        Activity

          People

            jonesde David E. Jones
            bruno.busco Bruno Busco
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: