Author: jleroux
Date: Fri Dec 19 11:55:39 2008 New Revision: 728125 URL: http://svn.apache.org/viewvc?rev=728125&view=rev Log: A patch from Bruno Busco "Adding some Collapsible FieldGroup usage examples in the Form Widget Example" '(https://issues.apache.org/jira/browse/OFBIZ-2095) - OFBIZ-2095 Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml?rev=728125&r1=728124&r2=728125&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml Fri Dec 19 11:55:39 2008 @@ -225,4 +225,36 @@ <field name="printButton" widget-style="smallSubmit"><submit button-type="button"/></field> </form> + <form name="FieldGroupExampleForm" type="single" title=""> + <field name="Field1"><text/></field> + <field name="Field2"><text/></field> + <field name="Field3"><text/></field> + <field name="Field4"><text/></field> + <field name="Field5"><text/></field> + <field name="Field6"><text/></field> + <field name="Field7"><text/></field> + <field name="Field8"><text/></field> + <field name="Field9"><text/></field> + <field name="Field10"><text/></field> + + <sort-order> + <field-group title="Group 1" collapsible="true" initially-collapsed="true"> + <sort-field name="Field1"/> + <sort-field name="Field2"/> + <sort-field name="Field3"/> + <sort-field name="Field4"/> + <sort-field name="Field5"/> + </field-group> + + <field-group title="Group 2" collapsible="true"> + <sort-field name="Field6"/> + <sort-field name="Field7"/> + <sort-field name="Field8"/> + <sort-field name="Field9"/> + <sort-field name="Field10"/> + </field-group> + </sort-order> + + </form> + </forms> Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml?rev=728125&r1=728124&r2=728125&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml (original) +++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Fri Dec 19 11:55:39 2008 @@ -55,6 +55,15 @@ <include-form name="DropDownFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/> </container> <container style="screenlet-body"> + <container style="button-bar"><label style="h2">Fields groups</label></container> + <container style="screenlet-body"> + <label style="h3">Source Code</label> + <label> - see the form definition with name "FieldGroupExampleForm" 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="FieldGroupExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/> + </container> + </container> + <container style="screenlet-body"> <container style="button-bar"><label style="h2">Print button</label></container> <container style="screenlet-body"> <label>${uiLabelMap.ExampleFopFonts}</label> |
Free forum by Nabble | Edit this page |