| <?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. |
| --> |
| |
| <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> |
| |
| <form name="scheduleJob" type="single" target="setServiceParameters" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="JOB_NAME" title="${uiLabelMap.WebtoolsJob}"><text/></field> |
| <field name="SERVICE_NAME" title="${uiLabelMap.WebtoolsService}"><text/></field> |
| <field name="POOL_NAME" title="${uiLabelMap.WebtoolsPool}"><text/></field> |
| <field name="SERVICE_TIME" title="${uiLabelMap.CommonStartDateTime}"><date-time/></field> |
| <field name="SERVICE_END_TIME" title="${uiLabelMap.CommonEndDateTime}"><date-time/></field> |
| <field name="SERVICE_FREQUENCY" title="${uiLabelMap.WebtoolsFrequency}"> |
| <drop-down> |
| <option key="" description="${uiLabelMap.CommonNone}"/> |
| <option key="4" description="${uiLabelMap.CommonDaily}"/> |
| <option key="5" description="${uiLabelMap.CommonWeekly}"/> |
| <option key="6" description="${uiLabelMap.CommonMonthly}"/> |
| <option key="7" description="${uiLabelMap.CommonYearly}"/> |
| <option key="3" description="${uiLabelMap.CommonHourly}"/> |
| <option key="2" description="${uiLabelMap.CommonMinutely}"/> |
| <option key="1" description="${uiLabelMap.CommonSecondly}"/> |
| </drop-down> |
| </field> |
| <field name="SERVICE_INTERVAL" title="${uiLabelMap.WebtoolsInterval}" tooltip="${uiLabelMap.WebtoolsForUseWithFrequency}"><text/></field> |
| <field name="SERVICE_COUNT" title="${uiLabelMap.WebtoolsCount}" tooltip="${uiLabelMap.WebtoolsNumberOfTimeTheJobWillRun}"><text default-value="1"/></field> |
| <field name="SERVICE_MAXRETRY" title="${uiLabelMap.WebtoolsMaxRetry}" tooltip="${uiLabelMap.WebtoolsNumberOfJobRetry}"><text default-value="0"/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="runService" type="single" target="setSyncServiceParameters" |
| header-row-style="header-row" default-table-style="basic-table" focus-field-name="SERVICE_NAME"> |
| <field name="SERVICE_NAME" title="${uiLabelMap.WebtoolsService}"><text/></field> |
| <field name="POOL_NAME" title="${uiLabelMap.WebtoolsPool}"><text/></field> |
| <field name="_RUN_SYNC_"><hidden value="Y"/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="FindJobs" type="single" target="FindJob" default-entity-name="JobSandbox"> |
| <field name="noConditionFind" position="1"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> |
| <field name="jobName" title="${uiLabelMap.WebtoolsJob}" position="1"><text-find/></field> |
| <field name="clock" position="2" title="${uiLabelMap.CommonServerHour}:"><display/></field> |
| <field name="jobId" title="${uiLabelMap.CommonId}" position="1"><text-find/></field> |
| <field name="serviceName" title="${uiLabelMap.WebtoolsServiceName}"><text-find/></field> |
| <field name="statusId" title="${uiLabelMap.CommonStatus}" position="1"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"> |
| <entity-constraint name="statusTypeId" operator="equals" value="SERVICE_STATUS"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="submitButton" title="${uiLabelMap.CommonFind}" position="1"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| |
| <form name="ListJobs" type="list" list-name="listIt" paginate-target="FindJob" default-entity-name="JobSandbox" separate-columns="true" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> |
| <actions> |
| <service service-name="performFind" result-map="result" result-map-list="listIt"> |
| <field-map field-name="inputFields" from-field="jobCtx"/> |
| <field-map field-name="entityName" value="JobSandbox"/> |
| <field-map field-name="orderBy" from-field="parameters.sortField"/> |
| <field-map field-name="viewIndex" from-field="viewIndex"/> |
| <field-map field-name="viewSize" from-field="viewSize"/> |
| </service> |
| </actions> |
| <field name="jobName" title="${uiLabelMap.WebtoolsJob}" sort-field="true"><display/></field> |
| <field name="jobId" title="${uiLabelMap.CommonId}" sort-field="true"> |
| <hyperlink also-hidden="false" description="${jobId}" target="JobDetails"> |
| <parameter param-name="jobId" from-field="jobId"/> |
| </hyperlink> |
| </field> |
| <field name="poolId" title="${uiLabelMap.WebtoolsPool}" sort-field="true"><display/></field> |
| <field name="runTime" title="${uiLabelMap.WebtoolsRunTime}" sort-field="true"><display/></field> |
| <field name="startDateTime" title="${uiLabelMap.CommonStartDateTime}" sort-field="true"><display/></field> |
| <field name="serviceName" title="${uiLabelMap.WebtoolsService}" sort-field="true"> |
| <hyperlink also-hidden="false" description="${serviceName}" target="ServiceList"> |
| <parameter param-name="sel_service_name" from-field="serviceName"/> |
| </hyperlink> |
| </field> |
| <field name="statusId" title="${uiLabelMap.CommonStatus}" sort-field="true"><display-entity entity-name="StatusItem" description="${description}"/></field> |
| <field name="finishDateTime" title="${uiLabelMap.CommonEndDateTime}" sort-field="true"><display/></field> |
| <field name="cancelButton" title=" " use-when="startDateTime==null&&finishDateTime==null&&cancelDateTime==null" widget-style="buttontext"> |
| <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsCancelJob}" target="cancelJob"> |
| <parameter param-name="jobId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="JobDetails" type="single"> |
| <auto-fields-entity entity-name="JobSandbox" map-name="job" default-field-type="display"/> |
| </form> |
| <form name="JobRuntimeDataInfo" type="list" list-name="runtimeInfoList" default-table-style="basic-table hover-bar" paginate="false"> |
| <field name="key"><display/></field> |
| <field name="value"><display/></field> |
| </form> |
| <form name="PoolState" type="single" default-map-name="poolState"> |
| <field name="keepAliveTimeInSeconds"><display/></field> |
| <field name="numberOfCoreInvokerThreads"><display/></field> |
| <field name="currentNumberOfInvokerThreads"><display/></field> |
| <field name="numberOfActiveInvokerThreads"><display/></field> |
| <field name="maxNumberOfInvokerThreads"><display/></field> |
| <field name="greatestNumberOfInvokerThreads"><display/></field> |
| <field name="numberOfCompletedTasks"><display/></field> |
| </form> |
| <form name="ListJavaThread" type="list" list-name="threads" paginate-target="threadList" separate-columns="true" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="id" title="${uiLabelMap.WebtoolsThread}"><display description="${threadId} ${threadName}"/></field> |
| <field name="name" title="${uiLabelMap.WebtoolsJob}"><display default-value="${uiLabelMap.CommonNone}"/></field> |
| <field name="serviceName" title="${uiLabelMap.WebtoolsService}"><display default-value="${uiLabelMap.CommonNone}"/></field> |
| <field name="time" title="${uiLabelMap.CommonStartDateTime}"><display/></field> |
| <field name="runTime" title="${uiLabelMap.CommonTime} (ms)"><display/></field> |
| </form> |
| <form name="ListServices" type="list" list-name="services" paginate-target="ServiceLog" separate-columns="true" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2"> |
| <field name="serviceName" title="${uiLabelMap.WebtoolsServiceName}" sort-field="true"><display/></field> |
| <field name="localName" title="${uiLabelMap.WebtoolsDispatcherName}" sort-field="true"><display/></field> |
| <field name="modeStr" title="${uiLabelMap.WebtoolsMode}" sort-field="true"><display default-value="${uiLabelMap.CommonNone}"/></field> |
| <field name="startTime" title="${uiLabelMap.CommonStartDateTime}" sort-field="true"><display/></field> |
| <field name="endTime" title="${uiLabelMap.CommonEndDateTime}" sort-field="true"><display default-value="${uiLabelMap.WebtoolsStatusRunning}"/></field> |
| </form> |
| </forms> |