| <?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"> |
| <platform-specific> |
| <html> |
| <html-template location="component://webtools/webapp/webtools/service/availableservices.ftl"/> |
| </html> |
| </platform-specific> |
| </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"/> |
| <set field="dummy" value="${groovy: if ('SERVICE_PENDING'.equals(jobCtx.statusId)) jobCtx.jobId = ''}"/> <!-- To more easily see current pending jobs and possibly cancel some others --> |
| <!-- fields for ServerHour24HourFormatJs.ftl --> |
| <set field="clockField" value="FindJobs_clock_title"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://common/webcommon/includes/ServerHour24HourFormatJs.ftl"/></html></platform-specific> |
| <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="search-options"> |
| <include-form name="FindJobs" location="component://webtools/widget/ServiceForms.xml"/> |
| </decorator-section> |
| <decorator-section name="search-results"> |
| <include-form name="ListJobs" location="component://webtools/widget/ServiceForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="JobDetails"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleJobDetails"/> |
| <set field="tabButtonItem" value="findJob"/> |
| <script location="component://webtools/webapp/webtools/WEB-INF/actions/service/JobDetails.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleJobDetails}"> |
| <include-form name="JobDetails" location="component://webtools/widget/ServiceForms.xml"/> |
| </screenlet> |
| <screenlet title="${uiLabelMap.WebtoolsRunTimeDataInfo}"> |
| <include-form name="JobRuntimeDataInfo" location="component://webtools/widget/ServiceForms.xml"/> |
| </screenlet> |
| </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"> |
| <screenlet title="${uiLabelMap.WebtoolsServiceEngineThreads}"> |
| <include-form name="PoolState" location="component://webtools/widget/ServiceForms.xml"/> |
| <include-form name="ListJavaThread" location="component://webtools/widget/ServiceForms.xml"/> |
| </screenlet> |
| <screenlet title="${uiLabelMap.WebtoolsGeneralJavaThreads}"> |
| <platform-specific> |
| <html><html-template location="component://webtools/webapp/webtools/service/threads.ftl"/></html> |
| </platform-specific> |
| </screenlet> |
| </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/widget/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> |
| <include-form name="runService" location="component://webtools/widget/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/setServiceParameterSync.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> |