Files
ofbiz-framework/framework/webtools/widget/EntitySyncScreens.xml
T

79 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright (c) 2004 The Open For Business Project - www.ofbiz.org
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* $Id: EntitySyncScreens.xml 7747 2006-06-06 23:37:04Z jonesde $
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd">
<screen name="GenericDecorator">
<section>
<actions>
</actions>
<widgets>
<!-- main defines the regions of the HTML page -->
<decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
<!-- body is the primary display for this page and is called recursively -->
<decorator-section name="body">
<section>
<widgets>
<container>
<label style="head1">${uiLabelMap.${labelTitleProperty}}</label>
</container>
<container>
<link target="EntitySyncStatus" style="buttontext" text="Refresh"/>
</container>
<!-- Now call the SimpleScreen form -->
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
<label style="head3">${uiLabelMap.ProductCatalogViewPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EntitySyncStatus">
<section>
<actions>
<set field="title" value="Entity Sync Status"/>
<set field="titleProperty" value="PageTitleEntitySyncStatus"/>
<set field="labelTitleProperty" value="PageTitleEntitySyncStatus"/>
</actions>
<widgets>
<decorator-screen name="GenericDecorator">
<decorator-section name="body">
<include-form name="EntitySyncStatus" location="component://webtools/widget/EntitySyncForms.xml"/>
<label style="head1">Load Offline Data</label>
<include-form name="EntitySyncLoadOffline" location="component://webtools/widget/EntitySyncForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>