Author: jleroux
Date: Tue Aug 28 14:30:08 2007
New Revision: 570576
URL:
http://svn.apache.org/viewvc?rev=570576&view=revLog:
A patch from Adrian Crum "Improved Title Bar In Webtools Entity Screens" (
https://issues.apache.org/jira/browse/OFBIZ-1215)
Modified:
ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
Modified: ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml?rev=570576&r1=570575&r2=570576&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/widget/EntityScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/EntityScreens.xml Tue Aug 28 14:30:08 2007
@@ -182,8 +182,9 @@
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
- <set field="titleProperty" value="WebtoolsFindValues"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh"/>
+ <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap"/>
+ <set field="title" value="${uiLabelMap.WebtoolsFindValues}: ${entityName}"/>
</actions>
<widgets>
<decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
@@ -205,8 +206,9 @@
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
- <set field="titleProperty" value="WebtoolsViewValue"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh"/>
+ <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap"/>
+ <set field="title" value="${uiLabelMap.WebtoolsViewValue}: ${entityName}"/>
</actions>
<widgets>
<decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
@@ -228,8 +230,9 @@
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
- <set field="titleProperty" value="WebtoolsRelations"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewRelations.bsh"/>
+ <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap"/>
+ <set field="title" value="${uiLabelMap.WebtoolsRelations}: ${entityName}"/>
</actions>
<widgets>
<decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
@@ -403,6 +406,7 @@
</section>
</screen>
</screens>
+