Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4742 Portlet Widget
  3. OFBIZ-4886

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • None
    • None
    • ALL COMPONENTS
    • None
    • Bug Crush Event - 21/2/2015

    Description

      Portlet is defined in one component and can be used in all component. Portlet need only simple decorator with uiLabel definition and other important field so main-decorator cannot be used.

      This patch create two decorators :
      1) portletUiLabelDecorator, it's goal is to load all uiLabel files necessary to used portlet which is DEFINED in this component; it call uiLabelDecorator for component which is USED the portlet.
      2) uiLabelDecorator, it's goal is to load only uiLabel file which should overload the default portlet uilabel (defined in portletUilabelDecorator); it call CommonScreen.xml#uiLabelDecorator which initializes all other important fields and load js, css, ...

      Attachments

        1. OFBIZ-4886.patch
          33 kB
          Olivier Heintz

        Activity

          People

            Unassigned Unassigned
            holivier Olivier Heintz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: