Minor layout changes in the Example component

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2007-11-20 06:47:40 +00:00
parent 41d98f7710
commit e14dd8654f
2 changed files with 19 additions and 16 deletions
@@ -39,7 +39,7 @@ under the License.
</menu>
<menu name="EditExample" default-selected-style="selected" type="simple"
menu-container-style="button-bar button-style-1" selected-menuitem-context-field-name="tabButtonItem">
menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="EditExample" title="${uiLabelMap.ExampleExample}">
<link target="EditExample?exampleId=${exampleId}"/>
</menu-item>
@@ -51,7 +51,7 @@ under the License.
</menu-item>
</menu>
<menu name="EditExampleFeature" default-selected-style="selected" type="simple"
menu-container-style="button-bar button-style-1" selected-menuitem-context-field-name="tabButtonItem">
menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="EditExampleFeature" title="${uiLabelMap.ExampleFeature}">
<link target="EditExampleFeature?exampleFeatureId=${exampleFeatureId}"/>
</menu-item>
@@ -34,22 +34,25 @@ under the License.
<if-has-permission permission="EXAMPLE" action="_VIEW"/>
</condition>
<widgets>
<container><label style="head1">${uiLabelMap.${titleProperty}}</label></container>
<container><label style="head1">Date/Time fields</label></container>
<container>
<label style="head3">Source Code</label>
<label> - see the form definition with name &quot;DateTimeFieldsExampleForm&quot; in the file: </label>
<link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
<container style="head1"><label>${uiLabelMap.${titleProperty}}</label></container>
<container style="screenlet-body">
<container style="button-bar"><label style="head2">Date/Time fields</label></container>
<container style="screenlet-body">
<label style="head3">Source Code</label>
<label> - see the form definition with name &quot;DateTimeFieldsExampleForm&quot; in the file: </label>
<link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
<include-form name="DateTimeFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
</container>
</container>
<include-form name="DateTimeFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
<container><label style="head1">Drop down fields</label></container>
<container>
<label style="head3">Source Code</label>
<label> - see the form definition with name &quot;DropDownFieldsExampleForm&quot; in the file: </label>
<link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
<container style="screenlet-body">
<container style="button-bar"><label style="head2">Drop down fields</label></container>
<container style="screenlet-body">
<label style="head3">Source Code</label>
<label> - see the form definition with name &quot;DropDownFieldsExampleForm&quot; in the file: </label>
<link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
</container>
<include-form name="DropDownFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
</container>
<include-form name="DropDownFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
</widgets>
<fail-widgets>
<label style="head3">${uiLabelMap.ExampleViewPermissionError}</label>