There was still some references to smooth_feather theme. This patch replaced them with a call to bizzness time git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816125 13f79535-47bb-0310-9956-ffa450edef68
502 lines
25 KiB
XML
502 lines
25 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">
|
|
|
|
<!-- Included Screens -->
|
|
<screen name="states">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/states.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="countries">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/countries.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="cctypes">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/cctypes.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ccmonths">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/ccmonths.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ccyears">
|
|
<section>
|
|
<actions>
|
|
<set field="thisDate" from-field="nowTimestamp"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/ccyears.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!--
|
|
The following screen renders a generic link (implemented by an hidden form)
|
|
that can be included in other screens in the following way:
|
|
...
|
|
<section>
|
|
<actions>
|
|
<set field="genericLinkName" value="formName"/> The name of the hidden form (mandatory)
|
|
<set field="genericLinkText" value="Link message"/> The link text (mandatory)
|
|
<set field="genericLinkTarget" value="ApprovedProductRequirementsReport"/> The request name (mandatory)
|
|
<set field="genericLinkStyle" value="buttontext"/> The style of the link (optional)
|
|
<set field="genericLinkWindow" value="newWindow"/> The target window (optional): if set, a new browser window is created
|
|
<set field="excludeParameters" value="N"/> If not set to Y, the requestParameters are included in the form as hidden fields (optional, defaults to N)
|
|
</actions>
|
|
<widgets>
|
|
<include-screen name="genericLink" location="component://common/widget/CommonScreens.xml"/>
|
|
</widgets>
|
|
</section>
|
|
...
|
|
-->
|
|
<screen name="genericLink">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/genericLink.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!--
|
|
The following screen is used to generate Ajax list of options for autocomplete fields
|
|
-->
|
|
<screen name="ajaxAutocompleteOptions">
|
|
<section>
|
|
<actions>
|
|
<set field="autocompleteOptions" from-field="parameters.autocompleteOptions"/>
|
|
<!--
|
|
FIXME: Disabled because it represents a security hole.
|
|
<set field="entityName" from-field="parameters.entityName"/>
|
|
<set field="fieldName" from-field="parameters.fieldName"/>
|
|
<set field="selectFields" from-field="parameters.selectFields"/>
|
|
<set field="sortByFields" from-field="parameters.sortByFields"/>
|
|
<script location="component://common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy"/>
|
|
-->
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/ajaxAutocompleteOptions.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Global decorator for General Screens/Pages -->
|
|
<screen name="GlobalDecorator">
|
|
<section>
|
|
<actions>
|
|
<!-- The default (global) java scripts -->
|
|
<set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/scriptaculous.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/prototype.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/selectall.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/fieldlookup.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/calendar_date_select.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/GooglemapMarkers.js" global="true"/>
|
|
<set field="layoutSettings.commonHeaderImageLinkUrl" from-field="layoutSettings.commonHeaderImageLinkUrl" default-value="main" global="true"/>
|
|
<property-map resource="general" map-name="generalProperties" global="true"/>
|
|
<set field="defaultVisualThemeId" from-field="generalProperties.defaultVisualThemeId" default-value="BIZZNESS_TIME"/>
|
|
<set field="visualThemeId" from-field="userPreferences.VISUAL_THEME" default-value="${defaultVisualThemeId}" global="true"/>
|
|
<service service-name="getVisualThemeResources">
|
|
<field-map field-name="visualThemeId"/>
|
|
<field-map field-name="themeResources" from-field="layoutSettings"/>
|
|
</service>
|
|
<set field="layoutSettings" from-field="themeResources" default-value="${layoutSettings}" global="true"/>
|
|
<set field="headerTemplateLocation" from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"/>
|
|
<set field="footerTemplateLocation" from-field="layoutSettings.VT_FTR_TMPLT_LOC[0]"/>
|
|
<set field="appbarTemplateLocation" from-field="layoutSettings.VT_NAV_TMPLT_LOC[0]"/>
|
|
<set field="messagesTemplateLocation" from-field="layoutSettings.VT_MSG_TMPLT_LOC[0]"/>
|
|
<property-map resource="CommonHelpUrls" map-name="helpUrlsMap" global="true"/>
|
|
<script location="component://commonext/script/changeOrgPartyId.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<!-- render header -->
|
|
<platform-specific><html><html-template location="${headerTemplateLocation}"/></html></platform-specific>
|
|
<!-- render appbar -->
|
|
<platform-specific><html><html-template location="${appbarTemplateLocation}"/></html></platform-specific>
|
|
|
|
<!-- render appheader: both menu widget style and ftl template style menus are supported-->
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="userLogin"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<if-empty field="applicationMenuName"/>
|
|
</condition>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="${appheaderTemplate}"/></html></platform-specific>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="apptitle">${parameters.applicationTitle}</label>
|
|
<include-menu name="${applicationMenuName}" location="${applicationMenuLocation}"/>
|
|
</fail-widgets>
|
|
</section>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<include-menu name="CommonAppBarMenu" location="component://common/widget/CommonMenus.xml"/>
|
|
</fail-widgets>
|
|
</section>
|
|
|
|
<!-- render messages -->
|
|
<platform-specific><html><html-template location="${messagesTemplateLocation}"/></html></platform-specific>
|
|
<container style="contentarea">
|
|
<!-- may be used by sight disabled persons to skip directly to content area-->
|
|
<decorator-section-include name="pre-body"/>
|
|
<!-- Please don't change the column-container id : it's referenced to allow skipping navigation-->
|
|
<container id="column-container">
|
|
<!-- by default will render left-bar only if leftbarScreen value not empty -->
|
|
<include-screen name="${leftbarScreenName}" location="${leftbarScreenLocation}"/>
|
|
|
|
<container id="content-main-section" style="${MainColumnStyle}">
|
|
<!-- render messages -->
|
|
<decorator-section-include name="body"/>
|
|
</container>
|
|
<container style="clear"></container>
|
|
</container>
|
|
</container>
|
|
|
|
<!-- render footer -->
|
|
<section>
|
|
<condition>
|
|
<if-empty field="applicationFooterTemplate"/>
|
|
</condition>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="${footerTemplateLocation}"/></html></platform-specific>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<platform-specific><html><html-template location="${applicationFooterTemplate}"/></html></platform-specific>
|
|
</fail-widgets>
|
|
</section>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Global decorator for Lookup pop-up windows -->
|
|
<screen name="LookupDecorator">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<service service-name="getUserPreferenceGroup" result-map="prefResult">
|
|
<field-map field-name="userPrefGroupTypeId" value="GLOBAL_PREFERENCES"/>
|
|
</service>
|
|
<set field="userPreferences" from-field="prefResult.userPrefMap" global="true"/>
|
|
|
|
<property-map resource="general" map-name="generalProperties" global="true"/>
|
|
<set field="defaultVisualThemeId" from-field="generalProperties.defaultVisualThemeId" default-value="BIZZNESS_TIME"/>
|
|
<set field="visualThemeId" from-field="userPreferences.VISUAL_THEME" default-value="${defaultVisualThemeId}" global="true"/>
|
|
<service service-name="getVisualThemeResources">
|
|
<field-map field-name="visualThemeId"/>
|
|
<field-map field-name="themeResources" from-field="layoutSettings"/>
|
|
</service>
|
|
<set field="layoutSettings" from-field="themeResources" default-value="${layoutSettings}" global="true"/>
|
|
<set field="messagesTemplateLocation" from-field="layoutSettings.VT_MSG_TMPLT_LOC[0]" default-value="component://common/webcommon/includes/messages.ftl"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/lookup.ftl"/></html></platform-specific>
|
|
<platform-specific><html><html-template location="${messagesTemplateLocation}"/></html></platform-specific>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="sections.body"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<screenlet title="${title}" id="findScreenlet" collapsible="true" padded="false">
|
|
<container id="search-options">
|
|
<decorator-section-include name="search-options"/>
|
|
</container>
|
|
</screenlet>
|
|
<screenlet>
|
|
<container id="search-results">
|
|
<decorator-section-include name="search-results"/>
|
|
</container>
|
|
</screenlet>
|
|
</fail-widgets>
|
|
</section>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/lookupFooter.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Global decorator for screenlet -->
|
|
<screen name="screenlet">
|
|
<section>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-header">
|
|
<decorator-section-include name="screenlet-header"/>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<decorator-section-include name="screenlet-body"/>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Simple decorator (no application and menu bars); it can be used:
|
|
* for printer friendly html screens (no logo and no application bar, header and footer); a print button is also available at the top of the screen
|
|
* for simple PDF report (a simple header with the logo/date is rendered and a footer with page numbers)
|
|
-->
|
|
<screen name="SimpleDecorator">
|
|
<section>
|
|
<actions>
|
|
<!-- The default (global) stylesheet -->
|
|
<set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/>
|
|
<set field="layoutSettings.rtlStyleSheets[+0]" value="/images/mainrtl.css" global="true"/>
|
|
<!-- The default (global) java scripts -->
|
|
<set field="layoutSettings.javaScripts[]" value="/images/selectall.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/fieldlookup.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/prototypejs/prototype.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/calendar_date_select.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/GooglemapSimple.js" global="true"/>
|
|
<!-- The default (global) shortcut icon -->
|
|
<set field="layoutSettings.shortcutIcon" value="/images/ofbiz.ico" global="true"/>
|
|
<!-- The settings below are used for xsl-fo screens -->
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="logoImageUrl" value="/images/ofbiz_logo.gif"/>
|
|
<!--<set field="defaultFontFamily" value="Arial"/>-->
|
|
</actions>
|
|
<widgets>
|
|
<!-- render header -->
|
|
<platform-specific>
|
|
<html><html-template location="component://common/webcommon/includes/simple.ftl"/></html>
|
|
<xsl-fo><html-template location="component://common/webcommon/includes/simple.fo.ftl"/></xsl-fo>
|
|
<xml><html-template location="component://common/webcommon/includes/minimal-decorator.ftl"/></xml>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- fo decorator for pdf documents (invoices, sales orders, purchase orders etc...). -->
|
|
<screen name="FoReportDecorator">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="logoImageUrl" value="/images/ofbiz_logo.gif"/>
|
|
<!--<set field="defaultFontFamily" value="Arial"/>-->
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><xsl-fo><html-template location="component://common/webcommon/includes/reportTemplate.fo.ftl"/></xsl-fo></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Decorator for xsl-fo rendering -->
|
|
<screen name="GlobalFoDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="layoutSettings.commonHeaderImageUrl" value="/images/ofbiz_logo.gif"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo>
|
|
<html-template location="component://common/webcommon/includes/fo/start.fo.ftl"/>
|
|
<html-template location="component://common/webcommon/includes/fo/basic-header.fo.ftl"/>
|
|
<html-template location="component://common/webcommon/includes/fo/basic-footer.fo.ftl"/>
|
|
</xsl-fo>
|
|
</platform-specific>
|
|
<decorator-section-include name="body"/>
|
|
<platform-specific><xsl-fo><html-template location="component://common/webcommon/includes/fo/end.fo.ftl"/></xsl-fo></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Default "error" page for XSL-FO based output. -->
|
|
<screen name="FoError">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="logoImageUrl" value="/images/ofbiz_logo.gif"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<!-- <platform-specific><xsl-fo><html-template location="component://common/webcommon/error.fo.ftl"/></xsl-fo></platform-specific> -->
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="login">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://common/webcommon/login.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="requirePasswordChange">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://common/webcommon/changePassword.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="forgotPassword">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://common/webcommon/forgotPassword.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EventMessages">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindScreenDecorator">
|
|
<section>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<if-empty field="titleProperty"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="h1">
|
|
<label text="${title}"/>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container style="h1">
|
|
<label text="${uiLabelMap[titleProperty]}"/>
|
|
</container>
|
|
</fail-widgets>
|
|
</section>
|
|
<decorator-section-include name="menu-bar"/>
|
|
<container style="clear"/>
|
|
<screenlet id="searchOptions" name="findScreenlet" collapsible="true" padded="false">
|
|
<container style="screenlet-body">
|
|
<container style="h2">
|
|
<label text="${uiLabelMap.CommonSearchOptions}"/>
|
|
</container>
|
|
<container id="search-options">
|
|
<decorator-section-include name="search-options"/>
|
|
</container>
|
|
</container>
|
|
</screenlet>
|
|
<container style="screenlet">
|
|
<container style="screenlet-body">
|
|
<container style="h2">
|
|
<label text="${uiLabelMap.CommonSearchResults}"/>
|
|
</container>
|
|
</container>
|
|
<container id="search-results">
|
|
<decorator-section-include name="search-results"/>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="help">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleHelp"></set>
|
|
<property-map resource="CommonHelpUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="helpText" value="${uiLabelMap[parameters.topic]}" default-value="${uiLabelMap.HelpNotFound}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SimpleDecorator">
|
|
<decorator-section name="body">
|
|
<container style="h1"><label>${uiLabelMap.PageTitleHelp}</label></container>
|
|
<container style="h3"><label>${helpText}</label></container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="viewBlocked">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleViewBlocked"></set>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://common/webcommon/viewBlocked.ftl"/></html></platform-specific>
|
|
<platform-specific><html><html-template location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="geoLocation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleCommonGeoLocation"/>
|
|
<entity-one entity-name="GeoPoint" value-field="geoPoint">
|
|
<field-map field-name="geoPointId" from-field="parameters.geoPointId"/>
|
|
</entity-one>
|
|
<script location="component://common/webcommon/WEB-INF/actions/includes/GeoLocation.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SimpleDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://common/webcommon/WEB-INF/geolocation.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
</screens>
|