Files
ofbiz-framework/framework/webtools/widget/EntityScreens.xml
T
Jacques Le Roux 380198a8da A patch from Amit Sharma "Error rendering screen [component://webtools/widget/CommonScreens.xml#CommonImportExportDecorator]" (https://issues.apache.org/jira/browse/OFBIZ-3150) - OFBIZ-3150
Steps for generating error:
1) Hit URL https://localhost:8443/webtools/control/xmldsdump
2) Depress "Check All" button on Export section.
3) Fill following fields.
Output Directory : <Eport path>
Records Updated Before : <Current time> 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832776 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 15:51:31 +00:00

445 lines
22 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="EntitySQLProcessor">
<section>
<actions>
<set field="titleProperty" value="PageTitleEntitySQLProcessor"/>
<set field="tabButtonItem" value="EntitySQLProcessor"/>
<set field="labelTitleProperty" value="PageTitleEntitySQLProcessor"/>
<set field="sqlCommand" from-field="parameters.sqlCommand"/>
<set field="selGroup" from-field="parameters.group"/>
<set field="rowLimit" from-field="parameters.rowLimit" type="Integer"/>
<set field="parameters.TRANSACTION_TIMEOUT" value="7200"/>
<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-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntitySQLProcessor.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntityExportAll">
<section>
<actions>
<set field="titleProperty" value="PageTitleEntityExportAll"/>
<set field="tabButtonItem" value="entityExportAll"/>
<set field="parameters.TRANSACTION_TIMEOUT" value="7200"/>
<set field="results" from-field="parameters.results"/>
</actions>
<widgets>
<decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PageTitleEntityExportAll}">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntityExportAll.ftl"/></html>
</platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntityImportDir">
<section>
<actions>
<set field="titleProperty" value="PageTitleEntityImportDir"/>
<set field="tabButtonItem" value="entityImportDir"/>
<set field="parameters.TRANSACTION_TIMEOUT" value="7200"/>
<set field="messages" from-field="parameters.messages"/>
</actions>
<widgets>
<decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PageTitleEntityImportDir}">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntityImportDir.ftl"/></html>
</platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntityImport">
<section>
<actions>
<set field="titleProperty" value="PageTitleEntityImport"/>
<set field="tabButtonItem" value="entityImport"/>
<set field="parameters.TRANSACTION_TIMEOUT" value="7200"/>
<set field="messages" from-field="parameters.messages"/>
</actions>
<widgets>
<decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PageTitleEntityImport}">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntityImport.ftl"/></html>
</platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntityImportReaders">
<section>
<actions>
<set field="titleProperty" value="PageTitleEntityImportReaders"/>
<set field="tabButtonItem" value="entityImportReaders"/>
<set field="parameters.TRANSACTION_TIMEOUT" value="7200"/>
<set field="messages" from-field="parameters.messages"/>
</actions>
<widgets>
<decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PageTitleEntityImportReaders}">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntityImportReaders.ftl"/></html>
</platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntityMaint">
<section>
<actions>
<set field="titleProperty" value="WebtoolsEntityDataMaintenance"/>
<set field="tabButtonItem" value="entitymaint"/>
<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-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/EntityMaint.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="FindGeneric">
<section>
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy"/>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap"/>
<set field="title" value="${uiLabelMap.WebtoolsFindValues} ${uiLabelMap.WebtoolsForEntity}: ${entityName}"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="menu-bar">
<container style="button-bar">
<link target="entitymaint" text="${uiLabelMap.WebtoolsBackToEntityList}" style="buttontext"/>
<link target="ViewRelations" text="${uiLabelMap.WebtoolsViewRelations}" style="buttontext">
<parameter param-name="entityName" from-field="entityName"/>
</link>
<link target="ViewGeneric" text="${uiLabelMap.CommonCreateNew}" style="buttontext">
<parameter param-name="entityName" from-field="entityName"/>
<parameter param-name="enableEdit" value="true"/>
</link>
</container>
</decorator-section>
<decorator-section name="search-options">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/FindGeneric.ftl"/></html>
</platform-specific>
</decorator-section>
<decorator-section name="search-results">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/ListGeneric.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</decorator-section>
</decorator-screen>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</screen>
<screen name="ViewGeneric">
<section>
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy"/>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap"/>
<set field="title" value="${uiLabelMap.WebtoolsViewValue}: ${entityName}"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/ViewGeneric.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</screen>
<screen name="ViewRelations">
<section>
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewRelations.groovy"/>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap"/>
<set field="title" value="${uiLabelMap.WebtoolsRelations}: ${entityName}"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/entity/ViewRelations.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</screen>
<screen name="EntityRef">
<section>
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="WebtoolsEntityReferenceChart"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityRef.groovy"/>
</actions>
<widgets>
<section>
<widgets>
<platform-specific>
<html>
<html-template location="component://webtools/webapp/webtools/entity/EntityRef.ftl"/>
</html>
</platform-specific>
</widgets>
</section>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</screen>
<screen name="EntityRefMain">
<section>
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="WebtoolsEntityReferenceChart"/>
<service service-name="getEntityRefData" result-map="result"/>
<set field="numberOfEntities" from-field="result.numberOfEntities"/>
<set field="packagesList" from-field="result.packagesList"/>
</actions>
<widgets>
<section>
<widgets>
<platform-specific>
<html>
<html-template location="component://webtools/webapp/webtools/entity/EntityRefMain.ftl"/>
</html>
</platform-specific>
</widgets>
</section>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</screen>
<screen name="EntityRefList">
<section>
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<actions>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="WebtoolsEntityReference"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityRefList.groovy"/>
</actions>
<widgets>
<section>
<widgets>
<platform-specific>
<html>
<html-template location="component://webtools/webapp/webtools/entity/EntityRefList.ftl"/>
</html>
</platform-specific>
</widgets>
</section>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</screen>
<screen name="EntityRefReport">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="WebtoolsEntityReferenceChart"/>
<service service-name="getEntityRefData" result-map="result"/>
<set field="numberOfEntities" from-field="result.numberOfEntities"/>
<set field="packagesList" from-field="result.packagesList"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo>
<html-template location="component://webtools/webapp/webtools/entity/EntityRefReport.fo.ftl"/>
</xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="EntityEoModelBundle">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="PageTitleEntityEoModelBundle"/>
<set field="tabButtonItem" value="entityEoModelBundle"/>
</actions>
<widgets>
<decorator-screen name="CommonImportExportDecorator" location="component://webtools/widget/CommonScreens.xml">
<decorator-section name="body">
<include-form name="EntityEoModelBundle" location="component://webtools/widget/EntityForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CheckDb">
<section>
<actions>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="WebtoolsCheckUpdateDatabase"/>
<set field="tabButtonItem" value="checkDb"/>
<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-section name="body">
<screenlet title="${uiLabelMap.WebtoolsCheckUpdateDatabase}">
<platform-specific><html><html-template location="component://webtools/webapp/webtools/entity/CheckDb.ftl"/></html></platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntityPerformanceTest">
<section>
<actions>
<set field="headerItem" value="main"/>
<set field="titleProperty" value="WebtoolsPerformanceTests"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityPerformanceTest.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/performance/EntityPerformanceTest.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="xmldsdump">
<section>
<actions>
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="PageTitleEntityExport"/>
<set field="tabButtonItem" value="xmlDsDump"/>
<set field="entityFrom" from-field="parameters.entityFrom" type="Timestamp"/>
<set field="entityThru" from-field="parameters.entityThru" type="Timestamp"/>
<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-section name="body">
<screenlet title="${uiLabelMap.WebtoolsCheckUpdateDatabase}">
<platform-specific><html><html-template location="component://webtools/webapp/webtools/entity/xmldsdump.ftl"/></html></platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="minervaobjects">
<section>
<actions>
<set field="headerItem" value="main"/>
<set field="title" value="${uiLabelMap.WebtoolsMinervaConnectionObjects}"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.WebtoolsMinervaConnectionObjects}">
<platform-specific><html><html-template location="component://webtools/webapp/webtools/entity/minervaObjects.ftl"/></html></platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>