Permalink
Browse files

make the webtools screens use the decorator location from web.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1455024 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent ef50a53 commit e4172b05bdf9bfbcfa16c5251472ffa2a9c48d4e @hansbak hansbak committed Mar 11, 2013
@@ -31,7 +31,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/artifactinfo/ArtifactInfo.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonArtifactDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonArtifactDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://webtools/webapp/webtools/artifactinfo/ArtifactInfo.ftl"/></html></platform-specific>
</decorator-section>
@@ -35,7 +35,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntitySQLProcessor.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntitySQLProcessor.ftl"/></html>
@@ -54,7 +54,7 @@ under the License.
<set field="results" from-field="parameters.results"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific>
@@ -76,7 +76,7 @@ under the License.
<set field="messages" from-field="parameters.messages"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific>
@@ -98,7 +98,7 @@ under the License.
<set field="messages" from-field="parameters.messages"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific>
@@ -120,7 +120,7 @@ under the License.
<set field="messages" from-field="parameters.messages"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific>
@@ -141,7 +141,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityMaint.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntityMaint.ftl"/></html>
@@ -166,7 +166,7 @@ under the License.
<set field="tabButtonItem" value="entitymaint"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="menu-bar">
@@ -212,7 +212,7 @@ under the License.
<set field="tabButtonItem" value="entitymaint"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/ViewGeneric.ftl"/></html>
@@ -237,7 +237,7 @@ under the License.
<set field="tabButtonItem" value="entitymaint"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/ViewRelations.ftl"/></html>
@@ -359,7 +359,7 @@ under the License.
<set field="tabButtonItem" value="entityEoModelBundle"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="EntityEoModelBundle" location="component://webtools/widget/EntityForms.xml"/>
@@ -379,7 +379,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific><html><html-template location="component://webtools/webapp/webtools/entity/CheckDb.ftl"/></html></platform-specific>
@@ -401,7 +401,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityPerformanceTest.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<label>${uiLabelMap.WebtoolsNotePerformanceResultsMayVary}</label>
@@ -426,7 +426,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific><html><html-template location="component://webtools/webapp/webtools/entity/xmldsdump.ftl"/></html></platform-specific>
@@ -445,7 +445,7 @@ under the License.
<set field="labelTitleProperty" value="ConnectionPoolStatus"/>
</actions>
<widgets>
- <decorator-screen name="CommonEntityDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonEntityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/ConnectionPoolStatus.ftl"/></html>
@@ -28,7 +28,7 @@
<set field="headerItem" value="Geos"/>
</actions>
<widgets>
- <decorator-screen name="CommonGeoManagementDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonGeoManagementDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="no-clear">
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
@@ -58,7 +58,7 @@
<entity-one entity-name="Geo" value-field="geo"/>
</actions>
<widgets>
- <decorator-screen name="CommonGeoManagementDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonGeoManagementDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.WebtoolsGeoEdit}">
<include-form name="EditGeo" location="component://webtools/widget/GeoManagementForms.xml"/>
@@ -118,7 +118,7 @@
<set field="asm_responseName" value="geoList"/>
</actions>
<widgets>
- <decorator-screen name="CommonGeoManagementDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonGeoManagementDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://common/webcommon/includes/setMultipleSelectJs.ftl"/></html></platform-specific>
<screenlet title="${uiLabelMap.WebtoolsGeosLinkExplained}">
@@ -32,7 +32,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/labelmanager/LabelManager.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonArtifactDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonArtifactDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="search-options">
@@ -28,7 +28,7 @@ under the License.
<set field="tabButtonItem" value="viewents"/>
</actions>
<widgets>
- <decorator-screen name="CommonArtifactDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonArtifactDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://webtools/webapp/webtools/component/viewComponents.ftl"/></html></platform-specific>
</decorator-section>
@@ -46,7 +46,7 @@ under the License.
<script location="component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.groovy"/>
</actions>
<widgets>
- <decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonImportExportDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<platform-specific><html><html-template location="component://webtools/webapp/webtools/datafile/viewdatafile.ftl"/></html></platform-specific>
@@ -29,7 +29,7 @@ under the License.
<set field="title" value="${uiLabelMap[titleProperty]}" global="true"/>
</actions>
<widgets>
- <decorator-screen name="CommonConfigurationDecorator" location="component://webtools/widget/CommonScreens.xml">
+ <decorator-screen name="CommonConfigurationDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<condition>

0 comments on commit e4172b0

Please sign in to comment.