From 2a39f125f3312e75c446c447fee2b928cf97b00e Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 1 May 2016 14:45:46 +0000 Subject: [PATCH] "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029 This Updates the XSD documentation Removes the list type when the grid element is used git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741866 13f79535-47bb-0310-9956-ffa450edef68 --- .../accounting/widget/FixedAssetForms.xml | 2 +- .../party/widget/partymgr/PartyForms.xml | 4 +-- framework/widget/dtd/widget-form.xsd | 34 ++++--------------- .../example/widget/example/ExampleForms.xml | 2 +- 4 files changed, 10 insertions(+), 32 deletions(-) diff --git a/applications/accounting/widget/FixedAssetForms.xml b/applications/accounting/widget/FixedAssetForms.xml index d4b4686b6f..ddd4fe46b5 100644 --- a/applications/accounting/widget/FixedAssetForms.xml +++ b/applications/accounting/widget/FixedAssetForms.xml @@ -21,7 +21,7 @@ under the License. - diff --git a/applications/party/widget/partymgr/PartyForms.xml b/applications/party/widget/partymgr/PartyForms.xml index 1dc320ca4d..29c566d6a7 100644 --- a/applications/party/widget/partymgr/PartyForms.xml +++ b/applications/party/widget/partymgr/PartyForms.xml @@ -125,7 +125,7 @@ under the License. - @@ -176,7 +176,7 @@ under the License. - + diff --git a/framework/widget/dtd/widget-form.xsd b/framework/widget/dtd/widget-form.xsd index 60bc32e133..1cd9ea9c62 100644 --- a/framework/widget/dtd/widget-form.xsd +++ b/framework/widget/dtd/widget-form.xsd @@ -56,7 +56,7 @@ under the License. - a list form is a list of individual forms in a table (could be called a tabular form), it has a list of sets of values and creates one form for each list element + DEPRECATED use grid instead - a list form is a list of individual forms in a table (could be called a tabular form), it has a list of sets of values and creates one form for each list element @@ -293,6 +293,11 @@ under the License. + + + a list of individual forms in a table (could be called a tabular form), it has a list of sets of values and creates one form for each list element + + @@ -306,33 +311,6 @@ under the License. - - - The form type is always required unless you are extending another form. - - - - - - a single form is a simple single form with values from a single set of values - - - - - a list form is a list of individual forms in a table (could be called a tabular form), it has a list of sets of values and creates one form for each list element - - - - - a multi form is like a list/tabular form, but it creates a single form to submit all list item forms at once; the field names in the resulting form have an appendage attached to make them unique according to the pattern used for the multi-service - event handler that will call one service for each list element - - - - - - - diff --git a/specialpurpose/example/widget/example/ExampleForms.xml b/specialpurpose/example/widget/example/ExampleForms.xml index 86acd49e99..1a65d10547 100644 --- a/specialpurpose/example/widget/example/ExampleForms.xml +++ b/specialpurpose/example/widget/example/ExampleForms.xml @@ -115,7 +115,7 @@ under the License. - +