Files
ofbiz-framework/framework/common/widget/CommonScreens.xml
T
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00

231 lines
10 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://www.ofbiz.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>
<!-- Global decorator for General Screens/Pages -->
<screen name="GlobalDecorator">
<section>
<actions>
<!-- The default (global) stylesheet is added to the list of stylesheets to the first position -->
<set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/>
</actions>
<widgets>
<!-- render header -->
<platform-specific><html><html-template location="component://common/webcommon/includes/header.ftl"/></html></platform-specific>
<!-- render appbar -->
<platform-specific><html><html-template location="component://common/webcommon/includes/appbar.ftl"/></html></platform-specific>
<container style="centerarea">
<!-- render appheader: both menu widget style and ftl template style menus are supported-->
<section>
<condition>
<if-empty field-name="applicationMenuName"/>
</condition>
<widgets>
<platform-specific><html><html-template location="${appheaderTemplate}"/></html></platform-specific>
</widgets>
<fail-widgets>
<label style="apptitle">${applicationTitle}</label>
<include-menu name="${applicationMenuName}" location="${applicationMenuLocation}"/>
</fail-widgets>
</section>
<container style="contentarea">
<container id="column-container">
<!-- by default will render left-bar only if leftbarScreen value not empty -->
<include-screen name="${leftbarScreenName}" location="${leftbarScreenLocation}"/>
<container style="${MainColumnStyle}">
<!-- render messages -->
<platform-specific><html><html-template location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
<decorator-section-include name="body"/>
</container>
<container style="endcolumns"><label text="&amp;nbsp;"/></container>
</container>
</container>
</container>
<!-- render footer -->
<platform-specific><html><html-template location="component://common/webcommon/includes/footer.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<!-- Global decorator for Lookup pop-up windows -->
<screen name="LookupDecorator">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<platform-specific>
<html>
<html-template-decorator location="component://common/webcommon/includes/lookup.ftl">
<html-template-decorator-section name="body">
<platform-specific><html><html-template location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
<decorator-section-include name="body"/>
</html-template-decorator-section>
</html-template-decorator>
</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 for printer friendly screens (no logo and no application bar, header and footer).
A print button is also available at the top of the screen.
-->
<screen name="SimpleDecorator">
<section>
<actions>
<!-- The default (global) stylesheet -->
<set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/>
</actions>
<widgets>
<!-- render header -->
<platform-specific><html><html-template location="component://common/webcommon/includes/simple.ftl"/></html></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="http://localhost:8080/images/ofbiz_logo.jpg"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://common/webcommon/includes/reportTemplate.fo.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<!-- Simple fo decorator for pdf reports. -->
<screen name="FoDecorator">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="logoImageUrl" value="http://localhost:8080/images/ofbiz_logo.jpg"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://common/webcommon/includes/simple.fo.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<!-- Simple xml decorator for widget export. -->
<screen name="XmlDecorator">
<section>
<actions>
</actions>
<widgets>
<platform-specific><html><html-template location="component://common/webcommon/includes/simple.xml.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
</screens>