You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2011/07/16 13:54:58 UTC

svn commit: r1147410 - /ofbiz/trunk/framework/widget/dtd/widget-tree.xsd

Author: jleroux
Date: Sat Jul 16 11:54:58 2011
New Revision: 1147410

URL: http://svn.apache.org/viewvc?rev=1147410&view=rev
Log:
A patch from BJ Freeman "update tree widget xsd" https://issues.apache.org/jira/browse/OFBIZ-4329

The example were out of date and there are plenty of examples in code.

Modified:
    ofbiz/trunk/framework/widget/dtd/widget-tree.xsd

Modified: ofbiz/trunk/framework/widget/dtd/widget-tree.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-tree.xsd?rev=1147410&r1=1147409&r2=1147410&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/dtd/widget-tree.xsd (original)
+++ ofbiz/trunk/framework/widget/dtd/widget-tree.xsd Sat Jul 16 11:54:58 2011
@@ -744,43 +744,9 @@ under the License.
 </xs:schema>
 <!--
     examples
-    <trees>
-        <tree name="ProductCategoryTree" root-node-name="ChildProductCategory">
-            <node name="ChildProductCategory">
-                <entity-one entity-name="ProductCategory"/>
-                <label text="${description} [${productCategoryId}]" style="tabletext"/>
-                <sub-node node-name="ChildProductCategory">
-                    <entity-and entity-name="ProductCategoryRollup">
-                        <constraint field-name="parentProductCategoryId" from-field="productCategoryId"/>
-                        <order-by field-name="sequenceNum"/>
-                    </entity-many>
-                </sub-node>
-                <out-field-map field-name="productCategoryId"/>
-            </node>
-        </tree>
-        <tree name="ProductCategoryAndProductsTree" root-node-name="ChildProductCategory">
-            <node name="ChildProductCategory">
-                <entity-one entity-name="ProductCategory"/>
-                <label text="${description} [${productCategoryId}]" style="tableheadtext"/>
-                <sub-node node-name="ChildProductCategory">
-                    <entity-and entity-name="ProductCategoryRollup">
-                        <constraint field-name="parentProductCategoryId" from-field="productCategoryId"/>
-                        <order-by field-name="sequenceNum"/>
-                    </entity-many>
-                    <out-field-map field-name="productCategoryId"/>
-                </sub-node>
-                <sub-node node-name="ChildProduct">
-                    <entity-and entity-name="ProductCategoryMember">
-                        <constraint field-name="productCategoryId"/>
-                        <order-by field-name="sequenceNum"/>
-                    </entity-many>
-                    <out-field-map field-name="productId"/>
-                </sub-node>
-            </node>
-            <node name="ChildProduct">
-                <service service-name="getProductInfo"/>
-                <label text="${productName} [${productId}] - ${price}" style="tabletext"/>
-            </node>
-        </tree>
-    </trees>
--->
+do search  xml for 
+	root-node-name
+	you will see many examples.
+	
+	
+	-->