Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None

      Description

      Description: Goals of this enhancement are :

      • simplification of portlet development by use of portlet Templates (PortletType), so most of the time, it's sufficient to define a form to have a portlet
      • default value of formName, menuName, ScreenName, ScriptName, Title, ... (name and location) based on component, subcomponent, webapp of the portlet
      • ajax call defined with xml syntax (new show-portlet on form and menu)
      • default parameters list in ajax link (show-portlet or on-event-update-area)
      1. OFBIZ-portletWidget_iconsPurpose_Example_Help.patch
        1.16 MB
        Olivier Heintz
      2. OFBIZ-4742.patch
        209 kB
        Olivier Heintz

        Activity

        Hide
        Olivier Heintz added a comment -

        Technical choices :

        • add some fields in PortalPortlet entity (add fieldDescription in entityLabel to have auto help)
        • add PortletType entity, which link id to a screenLocation#screenName for portlet Template
        • portlet template are based on screenlet
        • add portalPortletId and portletSeqId as optional attributes in include-portal-page
        • update include-portal-page java process to put in context some of PortalPortlet fields, to be usable by portlet templates. Value coming from entity or default value calculation.
        • add show-portlet as field type in Form with similar properties than hyperlink. Same for Menu.

        Sub Task of this Jira :
        1) icon-purpose : same concept as uiLabel but for icons, a property file to address icons by a logical name
        2) portlet-example : example portalPage with portlet using new functionality
        3) portlet-help : help file on development using portlet

        4) portletUilabel : add a portlet decorator by component to be sure that a portlet from a component can be used in an other component without label problem
        5) Some generic PortletEditForm, usually needed
        6) screenlet list navigation : solve two problems,
        first) screenlet navigation bar currently generate problem with listIterator,
        second) currenlty not working with ajax (on-event-update-area)

        7) add field new-line in PortalColumn, to be able to have multiple "line" in PortalPage, ex: top of screen two column and bottom only one column, like in ProjectPage

        Show
        Olivier Heintz added a comment - Technical choices : add some fields in PortalPortlet entity (add fieldDescription in entityLabel to have auto help) add PortletType entity, which link id to a screenLocation#screenName for portlet Template portlet template are based on screenlet add portalPortletId and portletSeqId as optional attributes in include-portal-page update include-portal-page java process to put in context some of PortalPortlet fields, to be usable by portlet templates. Value coming from entity or default value calculation. add show-portlet as field type in Form with similar properties than hyperlink. Same for Menu. Sub Task of this Jira : 1) icon-purpose : same concept as uiLabel but for icons, a property file to address icons by a logical name 2) portlet-example : example portalPage with portlet using new functionality 3) portlet-help : help file on development using portlet 4) portletUilabel : add a portlet decorator by component to be sure that a portlet from a component can be used in an other component without label problem 5) Some generic PortletEditForm, usually needed 6) screenlet list navigation : solve two problems, first) screenlet navigation bar currently generate problem with listIterator, second) currenlty not working with ajax (on-event-update-area) 7) add field new-line in PortalColumn, to be able to have multiple "line" in PortalPage, ex: top of screen two column and bottom only one column, like in ProjectPage
        Hide
        Olivier Heintz added a comment -

        first release :
        I leave the addon comment, because :

        • it's easier to see when something has been add, I will remove all, when it will be ready to be integrated
        • it's easier for me to make correction and evolution which will be ask by community
        Show
        Olivier Heintz added a comment - first release : I leave the addon comment, because : it's easier to see when something has been add, I will remove all, when it will be ready to be integrated it's easier for me to make correction and evolution which will be ask by community
        Hide
        Olivier Heintz added a comment -

        OFBIZ-portletWidget_iconsPurpose_Example_Help.patch is a merge of the 4 patch to avoid install problems.

        It's necessary to install JIRA-4688 to habe all working.

        Show
        Olivier Heintz added a comment - OFBIZ-portletWidget_iconsPurpose_Example_Help.patch is a merge of the 4 patch to avoid install problems. It's necessary to install JIRA-4688 to habe all working.
        Hide
        Erwan de FERRIERES added a comment -

        Olivier,

        your patchs are in the branch 20120329_portletWidget, it will be easier for commenting and sharing.
        Cheers,

        Show
        Erwan de FERRIERES added a comment - Olivier, your patchs are in the branch 20120329_portletWidget, it will be easier for commenting and sharing. Cheers,
        Hide
        Jacques Le Roux added a comment -

        Hi Olivier, Erwan,

        What is the status on this subject?

        Show
        Jacques Le Roux added a comment - Hi Olivier, Erwan, What is the status on this subject?

          People

          • Assignee:
            Unassigned
            Reporter:
            Olivier Heintz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development