You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Olivier Heintz (JIRA)" <ji...@apache.org> on 2019/05/18 10:17:00 UTC

[jira] [Closed] (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

     [ https://issues.apache.org/jira/browse/OFBIZ-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Heintz closed OFBIZ-4886.
---------------------------------
    Resolution: Won't Do

> 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
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4886
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4886
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS
>            Reporter: Olivier Heintz
>            Priority: Major
>         Attachments: OFBIZ-4886.patch
>
>
> 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, ... 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)