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

Bruno Busco commented on OFBIZ-3807:
------------------------------------

Many thanks for the feedbacks on this.
Having Scott's starting point for the injectable menus will be great.

About Adrian's proposal of improving the property protocol and related, I would 
better try to see if it could be possible to completely replace the actual 
application title with a complete injected application menu.

I mean:

Assumed that we have the injection menu, the framework would define the first 
level menu with the "Web Tools" and the "Example" entries. All other 
application wouuld inject their own menu.
The injected menu could be not just the "Application Title" entry but the 
complete TabBarMenu that is normally rendered when accessing the application 
main page.
This would allow to render a two levels application menu:
- Application 1
    - Entry 1.1
    - Entry 1.2
    - Entry 1.3
- Application 2
    - Entry 2.1
    - Entry 2.2
    - Entry 2.3

that would allow direct access to "second level" applications screens.


> 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