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

Adrian Crum commented on OFBIZ-3807:
------------------------------------

>From my perspective, the application menu dependency problem can be reduced 
>down to one simple requirement: We need a way to specify a property file in 
>addition to a property name. There are several approaches I can think of 
>(other commenters can add more):

1. Add "title-property" and "title-property-location" attributes to the 
ofbiz-component.xml file webapp element.
2. Add a property protocol to the framework 
(property://SomFile.xml#SomeProperty) and use that in  a "title-property" 
attribute in the ofbiz-component.xml file webapp element.
3. Add a property file handler to the component: protocol 
(component://application/config/SomFile.xml#SomeProperty) and use that in  a 
"title-property" attribute in the ofbiz-component.xml file webapp element.

I don't know how an "injectable menu" works, so I can't comment on that. Maybe 
we need a separate Jira issue to discuss injectable menus.


> 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