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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728125 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2008-12-19 19:55:39 +00:00
parent 6f9bc98a92
commit 7334f7e684
2 changed files with 41 additions and 0 deletions
@@ -225,4 +225,36 @@ under the License.
<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>
@@ -54,6 +54,15 @@ under the License.
</container>
<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 &quot;FieldGroupExampleForm&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="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">