[ 
https://issues.apache.org/jira/browse/OFBIZ-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876002#action_12876002
 ] 

Scott Gray commented on OFBIZ-3807:
-----------------------------------

I've attached my patch to OFBIZ-3373

The patch would solve the problem described in this issue, although you'd have 
to have an action within each injected menu that loads the resource bundles 
necessary for the menu item labels.

> Application name localizations should not be defined in the CommonUiLabels 
> framework file
> -----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3807
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3807
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Bruno Busco
>            Priority: Minor
>
> There is a weak dependence from the framework to ALL applications because the 
> application name localization for the application menu is defined in 
> CommonUiLabels.xml file.
> Whenever a user wants to add an application and localize its name, a new 
> entry in CommonUiLabels.xml framework file needs to be created.
> How could we have the application menu use the application specific labels 
> file to get the localitazion?
> The injectable menu we are speaking about could be the solution.
> A simple main menu could be defined in the framework with only the Webtools 
> and Example menu entries.
> Every application could inject its own application menu entries.
> An application could also inject menu entries in several different menus so 
> that, for example all application's administrations could be placed in one 
> unique high level "admin" menu entry.
> This could also allow a party/content binding component to inject menu 
> entries into otherwise stand-alone party and content applications.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to