Author: adrianc
Date: Mon Nov 19 22:47:40 2007 New Revision: 596552 URL: http://svn.apache.org/viewvc?rev=596552&view=rev Log: Minor layout changes in the Example component Modified: ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Modified: ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml?rev=596552&r1=596551&r2=596552&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml Mon Nov 19 22:47:40 2007 @@ -39,7 +39,7 @@ </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 @@ </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> Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml?rev=596552&r1=596551&r2=596552&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml (original) +++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Mon Nov 19 22:47:40 2007 @@ -34,22 +34,25 @@ <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 "DateTimeFieldsExampleForm" 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 "DateTimeFieldsExampleForm" 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 "DropDownFieldsExampleForm" 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 "DropDownFieldsExampleForm" 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> |
Free forum by Nabble | Edit this page |