The WebTools main screen is still untouched so that all screens can be reached in the same way as before. When we are OK with the new screens grouping under menus we will remove the main screen as it is now. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823806 13f79535-47bb-0310-9956-ffa450edef68
197 lines
9.2 KiB
XML
197 lines
9.2 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="ServiceList">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleServiceList"/>
|
|
<set field="tabButtonItem" value="serviceList"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html>
|
|
<html-template location="component://webtools/webapp/webtools/service/availableservices.ftl"/>
|
|
</html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindJob">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleJobList"/>
|
|
<set field="tabButtonItem" value="findJob"/>
|
|
<set field="jobCtx" from-field="parameters"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="FindJobs" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListJobs" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ThreadList">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleThreadList"/>
|
|
<set field="tabButtonItem" value="threadList"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/Threads.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://webtools/webapp/webtools/service/threads.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ScheduleJob">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleScheduleJob"/>
|
|
<set field="tabButtonItem" value="scheduleJob"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/ScheduleJob.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.WebtoolsStep1ServiceAndRecurrenceInfo}">
|
|
<include-form name="scheduleJob" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="RunService">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleRunService"/>
|
|
<set field="tabButtonItem" value="runService"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/ScheduleJob.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.PageTitleRunService}">
|
|
<include-form name="runService" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="setServiceParameters">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleScheduleJob"/>
|
|
<set field="tabButtonItem" value="scheduleJob"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/ScheduleJob.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.WebtoolsStep2ServiceParameters}">
|
|
<platform-specific>
|
|
<html><html-template location="component://webtools/webapp/webtools/service/setServiceParameter.ftl"/></html>
|
|
</platform-specific>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="setSyncServiceParameters">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleScheduleJob"/>
|
|
<set field="headerItem" value="services"/>
|
|
<set field="tabButtonItem" value="runService"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/ScheduleJob.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.PageTitleScheduleJob}">
|
|
<platform-specific>
|
|
<html><html-template location="component://webtools/webapp/webtools/service/setServiceParameter.ftl"/></html>
|
|
</platform-specific>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ServiceResult">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleScheduleJob"/>
|
|
<set field="headerItem" value="services"/>
|
|
<set field="tabButtonItem" value="runService"/>
|
|
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/ServiceResult.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://webtools/webapp/webtools/service/serviceResult.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|