Applied patch from Adrian Crum to clean up the layout of the Example application: OFBIZ-887

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529140 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacopo Cappellato
2007-04-16 06:28:12 +00:00
parent 3d4c6dcc65
commit ac33217ca3
6 changed files with 26 additions and 28 deletions
@@ -54,10 +54,10 @@ under the License.
<section>
<condition><if-empty field-name="userLogin"/></condition>
<widgets>
<container><label style="tabletext" text="${uiLabelMap.ExampleMessage}"/></container>
<container><label text="${uiLabelMap.ExampleMessage}"/></container>
</widgets>
</section>
<container><label style="tabletext" text="${uiLabelMap.ExampleWelcome}"/></container>
<container><label text="${uiLabelMap.ExampleWelcome}"/></container>
</container>
</container>
</decorator-section>
@@ -35,7 +35,7 @@ under the License.
</condition>
<widgets>
<container><label style="head1">${uiLabelMap.${titleProperty}}</label></container>
<container>
<container style="button-bar">
<link target="EditExampleFeature" text="${uiLabelMap.ExampleNewExampleFeature}" style="buttontext"/>
</container>
<include-form name="ListExampleFeatures" location="component://example/widget/example/ExampleFeatureForms.xml"/>
@@ -73,10 +73,10 @@ under the License.
</condition>
<widgets>
<include-menu name="EditExampleFeature" location="component://example/widget/example/ExampleMenus.xml"/>
<container>
<container style="button-bar">
<link target="EditExampleFeature" text="${uiLabelMap.ExampleNewExampleFeature}" style="buttontext"/>
</container>
<container>
<container style="button-bar">
<label style="head1">${uiLabelMap.${titleProperty}}</label><label style="head2"> ${uiLabelMap.CommonFor} "${exampleFeature.description}" [${exampleFeatureId}]</label>
</container>
</widgets>
@@ -43,7 +43,7 @@ under the License.
<alt-target use-when="example==null" target="createExample"/>
<auto-fields-service service-name="updateExample"/>
<field use-when="example!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}" tooltip="${uiLabelMap.CommonNotModifRecreat}" widget-style="tabletext"><display/></field>
<field use-when="example!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="example==null&amp;&amp;exampleId==null" name="exampleId" title="${uiLabelMap.ExampleExampleId}"><ignored/></field>
<field use-when="example==null&amp;&amp;exampleId!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleId}]" also-hidden="false"/></field>
@@ -20,10 +20,10 @@ under the License.
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-menu.xsd">
<menu name="EditExample" default-title-style="tabButton" default-selected-style="tabButtonSelected"
default-tooltip-style="tabletext" default-widget-style="tabButton"
<menu name="EditExample" default-selected-style="selected"
menu-container-style="button-bar button-style-1"
selected-menuitem-context-field-name="tabButtonItem"
orientation="horizontal" title="" type="simple">
type="simple">
<menu-item name="EditExample" title="${uiLabelMap.ExampleExample}">
<link target="EditExample?exampleId=${exampleId}"/>
</menu-item>
@@ -34,10 +34,10 @@ under the License.
<link target="EditExampleFeatureAppls?exampleId=${exampleId}"/>
</menu-item>
</menu>
<menu name="EditExampleFeature" default-title-style="tabButton" default-selected-style="tabButtonSelected"
default-tooltip-style="tabletext" default-widget-style="tabButton"
<menu name="EditExampleFeature" default-selected-style="selected"
menu-container-style="button-bar button-style-1"
selected-menuitem-context-field-name="tabButtonItem"
orientation="horizontal" title="" type="simple">
type="simple">
<menu-item name="EditExampleFeature" title="${uiLabelMap.ExampleFeature}">
<link target="EditExampleFeature?exampleFeatureId=${exampleFeatureId}"/>
</menu-item>
@@ -35,7 +35,7 @@ under the License.
</condition>
<widgets>
<container><label style="head1">${uiLabelMap.${titleProperty}}</label></container>
<container><link target="EditExample" text="${uiLabelMap.ExampleNewExample}" style="buttontext"/></container>
<container style="button-bar"><link target="EditExample" text="${uiLabelMap.ExampleNewExample}" style="buttontext"/></container>
<include-form name="ListExamples" location="component://example/widget/example/ExampleForms.xml"/>
</widgets>
<fail-widgets>
@@ -71,8 +71,8 @@ under the License.
</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>
<container style="button-bar"><link target="EditExample" text="${uiLabelMap.ExampleNewExample}" style="buttontext"/></container>
<container style="button-bar"><label style="head1">${uiLabelMap.${titleProperty}}</label><label style="head2"> ${uiLabelMap.CommonFor} "${example.exampleName}" [${exampleId}]</label></container>
</widgets>
</section>