Author: jleroux
Date: Sun Oct 25 20:34:52 2009
New Revision: 829641
URL: http://svn.apache.org/viewvc?rev=829641&view=rev
Log:
Adds Expand and Collapse All to Store Edit screen
Modified:
ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml
Modified: ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml?rev=829641&r1=829640&r2=829641&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml Sun Oct
25 20:34:52 2009
@@ -179,9 +179,24 @@
<container>
<label
style="h1">${uiLabelMap[labelTitleProperty]} ${uiLabelMap.CommonFor}:
${productStore.storeName} [${uiLabelMap.CommonId}:${productStoreId}]
${${extraFunctionName}}</label>
</container>
- <container>
- <link target="EditProductStore"
text="${uiLabelMap.ProductNewProductStore}" style="buttontext"/>
- </container>
+ <section>
+ <widgets>
+ <container>
+ <link
target="EditProductStore" text="${uiLabelMap.ProductNewProductStore}"
style="buttontext"/>
+ </container>
+ </widgets>
+ </section>
+ <section>
+ <condition>
+ <if-compare
field="titleProperty" operator="equals" value="PageTitleEditProductStore"/>
+ </condition>
+ <widgets>
+ <container style="button-bar">
+ <link
target="javascript:expandAll(true);" text="${uiLabelMap.CommonExpandAll}"
style="buttontext" url-mode="plain"/>
+ <link
target="javascript:expandAll(false);" text="${uiLabelMap.CommonCollapseAll}"
style="buttontext" url-mode="plain"/>
+ </container>
+ </widgets>
+ </section>
</widgets>
</section>