Files
ofbiz-framework/framework/webtools/widget/ServiceScreens.xml
T
Christian Geisert ba354d8bf2 New Styles For Framework applications
Apply the new CSS styles to all the forms into the Framework applications (Example, Example Ext, Webtools) and we will have the same look and feel on the ftl screens and screen widgets
Submitted by Marco Risaliti
See OFBIZ-1619


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628818 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 17:09:33 +00:00

245 lines
12 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="CommonServiceDecorator">
<section>
<actions>
<set field="headerItem" value="jobs"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<!-- do check for WEBTOOLS, _VIEW permission -->
<condition>
<if-has-permission permission="WEBTOOLS" action="_VIEW"/>
</condition>
<widgets>
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/service/serviceTabBar.ftl"/></html>
</platform-specific>
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<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/services.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonServiceDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/service/services.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="JobList">
<section>
<actions>
<set field="titleProperty" value="PageTitleJobList"/>
<set field="tabButtonItem" value="JobList"/>
<!--<limit-range start="0" size="100"/>-->
<service service-name="jobList" auto-field-map="parameters"/>
</actions>
<widgets>
<decorator-screen name="CommonServiceDecorator">
<decorator-section name="body">
<container style="screenlet">
<include-menu location="component://webtools/widget/WebToolsMenus.xml" name="FindJobsTitleBar"/>
<container style="screenlet-body">
<include-form name="findJob" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="h3">${uiLabelMap.PageTitleJobList}</label>
</container>
<container style="screenlet-body">
<include-form name="JobList" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
</container>
</container>
</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.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonServiceDecorator">
<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.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonServiceDecorator">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="head3">
<label text="${uiLabelMap.WebtoolsMessage11}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="scheduleJob" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
</widgets>
</section>
</container>
</container>
</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.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonServiceDecorator">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="head3">${uiLabelMap.PageTitleRunService}</label>
</container>
<container style="screenlet-body">
<include-form name="runService" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/>
</container>
</container>
</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.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonServiceDecorator">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="head3">${uiLabelMap.WebtoolsMessage12}</label>
</container>
<container style="screenlet-body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/service/setServiceParameter.ftl"/></html>
</platform-specific>
</container>
</container>
</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="ScheduleJob"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/scheduleJob.bsh"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="head3">${uiLabelMap.PageTitleScheduleJob}</label>
</container>
<container style="screenlet-body">
<platform-specific>
<html><html-template location="component://webtools/webapp/webtools/service/setServiceParameter.ftl"/></html>
</platform-specific>
</container>
</container>
</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="ScheduleJob"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/serviceResult.bsh"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" 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>