You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2006/08/11 09:25:33 UTC
svn commit: r430710 -
/incubator/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
Author: jonesde
Date: Fri Aug 11 00:25:33 2006
New Revision: 430710
URL: http://svn.apache.org/viewvc?rev=430710&view=rev
Log:
Some improvements, mainly ordering; thanks to feedback from Fabian Gorsler and Eriks Dobelis in OFBIZ-115
Modified:
incubator/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
Modified: incubator/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml?rev=430710&r1=430709&r2=430710&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml Fri Aug 11 00:25:33 2006
@@ -20,25 +20,27 @@
<tree name="GlAccountTree" entity-name="GlAccount" root-node-name="node-root" default-render-style="expand-collapse" default-wrap-style="accountItem">
<!-- tree name="GlAccountTree" root-node-name="node-root" render-style="expand-collapse" default-wrap-style="accountItem" -->
- <node name="node-root" render-style="simple" >
+ <node name="node-root" render-style="simple">
<!-- entity-one entity-name="GlAccount" use-cache="true">
- <field-map field-name="glAccountId" env-name="glAccountId" />
+ <field-map field-name="glAccountId" env-name="glAccountId"/>
</entity-one -->
<!-- include-screen name="GlAccountDetails" location="component://accounting/widget/AccountingScreens.xml" / -->
<!-- label style="treeitem" text="${glAccountId} ${}" / -->
<sub-node node-name="node-body">
- <entity-and entity-name="GlAccount" >
- <field-map field-name="parentGlAccountId" env-name="NA" />
- </entity-and >
+ <entity-and entity-name="GlAccount">
+ <field-map field-name="parentGlAccountId" env-name="null"/>
+ <order-by field-name="glAccountId"/>
+ </entity-and>
</sub-node>
</node>
<node name="node-body" wrap-style="treewrapper">
<!-- include-screen name="GlAccountDetails" location="component://accounting/widget/AccountingScreens.xml" / -->
<!-- label style="treeitem" text="${glAccountId} ${accountName} ${postedBalance}" / -->
- <link style="treeitem" target="GlAccountNavigate?glAccountId=${glAccountId}&trail=${currentNodeTrailPiped}" text="${glAccountId} ${accountName} ${postedBalance}" />
- <sub-node node-name="node-body" >
- <entity-and entity-name="GlAccount" >
- <field-map field-name="parentGlAccountId" env-name="glAccountId" />
+ <link style="treeitem" target="GlAccountNavigate?glAccountId=${glAccountId}&trail=${currentNodeTrailPiped}" text="${glAccountId} ${accountName} ${postedBalance}"/>
+ <sub-node node-name="node-body">
+ <entity-and entity-name="GlAccount">
+ <field-map field-name="parentGlAccountId" env-name="glAccountId"/>
+ <order-by field-name="glAccountId"/>
</entity-and>
</sub-node>
</node>
@@ -47,16 +49,18 @@
default-render-style="expand-collapse" default-wrap-style="treeWrapper">
<node name="node-root" render-style="simple">
<sub-node node-name="node-body">
- <entity-and entity-name="FixedAsset" >
- <field-map field-name="parentFixedAssetId" env-name="fixedAssetId" />
- </entity-and >
+ <entity-and entity-name="FixedAsset">
+ <field-map field-name="parentFixedAssetId" env-name="fixedAssetId"/>
+ <order-by field-name="fixedAssetName"/>
+ </entity-and>
</sub-node>
</node>
<node name="node-body" wrap-style="treewrapper">
- <link style="treeitem" target="FixedAssetChildren?fixedAssetId=${fixedAssetId}&trail=${fixedAssetId}" text="${fixedAssetId} ${fixedAssetName} ${instanceOfProductId} ${fixedAssetTypeId} " />
- <sub-node node-name="node-body" >
- <entity-and entity-name="FixedAsset" >
- <field-map field-name="parentFixedAssetId" env-name="fixedAssetId" />
+ <link style="treeitem" target="FixedAssetChildren?fixedAssetId=${fixedAssetId}&trail=${fixedAssetId}" text="${fixedAssetId} ${fixedAssetName} ${instanceOfProductId} ${fixedAssetTypeId} "/>
+ <sub-node node-name="node-body">
+ <entity-and entity-name="FixedAsset">
+ <field-map field-name="parentFixedAssetId" env-name="fixedAssetId"/>
+ <order-by field-name="fixedAssetName"/>
</entity-and>
</sub-node>
</node>