Improved:Use from-field pattern instead of value=dollor pattern in 'set' element

Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607)
Thanks Suraj Khurana and Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2017-08-26 20:24:09 +00:00
parent c86422ce7c
commit 9f4cb137ef
29 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ under the License.
<set field="activeApp" value="example" global="true"/>
<set field="applicationMenuName" value="ExampleAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://example/widget/example/ExampleMenus.xml" global="true"/>
<set field="applicationTitle" value="${uiLabelMap.ExampleApplication}" global="true"/>
<set field="applicationTitle" from-field="uiLabelMap.ExampleApplication" global="true"/>
</actions>
<widgets>
<section>
@@ -108,7 +108,7 @@ under the License.
</condition>
<actions>
<property-map resource="ExampleUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleLookupExampleFeature}"/>
<set field="title" from-field="uiLabelMap.PageTitleLookupExampleFeature"/>
<set field="queryString" from-field="result.queryString"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>