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
146 lines
7.0 KiB
XML
146 lines
7.0 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">
|
|
<screen name="FindExample">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="Example"/>
|
|
<set field="titleProperty" value="PageTitleFindExample"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="component://example/widget/example/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="EXAMPLE" action="_VIEW"/>
|
|
</condition>
|
|
<widgets>
|
|
<container><label style="head1">${uiLabelMap.${titleProperty}}</label></container>
|
|
<container><link target="EditExample" text="${uiLabelMap.ExampleNewExample}" style="buttontext"/></container>
|
|
<include-form name="ListExamples" location="component://example/widget/example/ExampleForms.xml"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="head3">${uiLabelMap.ExampleViewPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="CommonExampleDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="Example"/>
|
|
|
|
<set field="exampleId" from-field="parameters.exampleId"/>
|
|
<entity-one entity-name="Example" value-name="example"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="component://example/widget/example/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<!-- do check for EXAMPLE, _VIEW permission -->
|
|
<condition>
|
|
<if-has-permission permission="EXAMPLE" action="_VIEW"/>
|
|
</condition>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field-name="example"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<include-menu name="EditExample" location="component://example/widget/example/ExampleMenus.xml"/>
|
|
<container><link target="EditExample" text="${uiLabelMap.ExampleNewExample}" style="buttontext"/></container>
|
|
<container><label style="head1">${uiLabelMap.${titleProperty}}</label><label style="head2"> ${uiLabelMap.CommonFor} "${example.exampleName}" [${exampleId}]</label></container>
|
|
</widgets>
|
|
</section>
|
|
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="head3">${uiLabelMap.ExampleViewPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditExample">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditExample"/>
|
|
<set field="tabButtonItem" value="EditExample"/>
|
|
|
|
<set field="exampleId" from-field="parameters.exampleId"/>
|
|
<entity-one entity-name="Example" value-name="example"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonExampleDecorator">
|
|
<decorator-section name="body">
|
|
<include-form name="EditExample" location="component://example/widget/example/ExampleForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditExampleItems">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditExampleItems"/>
|
|
<set field="tabButtonItem" value="EditExampleItems"/>
|
|
|
|
<set field="exampleId" from-field="parameters.exampleId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonExampleDecorator">
|
|
<decorator-section name="body">
|
|
<include-form name="ListExampleItems" location="component://example/widget/example/ExampleForms.xml"/>
|
|
<include-form name="AddExampleItem" location="component://example/widget/example/ExampleForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditExampleFeatureAppls">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditExampleFeatureAppls"/>
|
|
<set field="tabButtonItem" value="EditExampleFeatureAppls"/>
|
|
|
|
<set field="exampleId" from-field="parameters.exampleId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonExampleDecorator">
|
|
<decorator-section name="body">
|
|
<include-form name="ListExampleFeatureAppls" location="component://example/widget/example/ExampleForms.xml"/>
|
|
<include-form name="AddExampleFeatureAppl" location="component://example/widget/example/ExampleForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|