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

71 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2001-2006 The Apache Software Foundation
Licensed 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://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="${uiLabelMap.CommonRefresh}"/>
</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">${uiLabelMap.WebtoolsLoadOfflineData}</label>
<include-form name="EntitySyncLoadOffline" location="component://webtools/widget/EntitySyncForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>