[
https://issues.apache.org/jira/browse/OFBIZ-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Heintz updated OFBIZ-4886:
----------------------------------
Attachment: OFBIZ-4886.patch
still #Bam# comment in this patch for better global review, I will remove all
before merge with trunk
> 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
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira