Fix for r607823. The OFBiz custom xml properties file format requires the file extension in the resource name. Detailed explanation in the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608156 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -24,8 +24,7 @@ under the License.
|
||||
<section>
|
||||
<actions>
|
||||
<!-- base/top/specific map first, then more common map added for shared labels -->
|
||||
<!-- XML Properties - the preferred properties file format -->
|
||||
<property-map resource="component://example/config/ExampleUiLabels.xml" map-name="uiLabelMap" global="true"/>
|
||||
<property-map resource="ExampleUiLabels.xml" map-name="uiLabelMap" global="true"/>
|
||||
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
|
||||
<set field="layoutSettings.companyName" from-field="uiLabelMap.ExampleCompanyName" global="true"/>
|
||||
|
||||
@@ -93,7 +93,7 @@ under the License.
|
||||
<if-has-permission permission="EXAMPLE" action="_VIEW"/>
|
||||
</condition>
|
||||
<actions>
|
||||
<property-map resource="ExampleUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<property-map resource="ExampleUiLabels.xml" map-name="uiLabelMap" global="true"/>
|
||||
<set field="title" value="${uiLabelMap.PageTitleLookupExampleFeature}"/>
|
||||
<set field="queryString" from-field="result.queryString"/>
|
||||
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
||||
|
||||
Reference in New Issue
Block a user