[OFBiz] SVN: r7846 - trunk/applications/order/widget/ordermgr
sichen@svn.ofbiz.org
sichen at svn.ofbiz.org
Thu Jun 22 18:06:58 CDT 2006
Author: sichen
Date: 2006-06-22 18:06:52 -0500 (Thu, 22 Jun 2006)
New Revision: 7846
Modified:
trunk/applications/order/widget/ordermgr/OrderEntryCartScreens.xml
trunk/applications/order/widget/ordermgr/OrderEntryForms.xml
Log:
Fixed bug with pagination of product quick lookup during order entry. OFBIZ-864
Modified: trunk/applications/order/widget/ordermgr/OrderEntryCartScreens.xml
===================================================================
--- trunk/applications/order/widget/ordermgr/OrderEntryCartScreens.xml 2006-06-22 18:58:33 UTC (rev 7845)
+++ trunk/applications/order/widget/ordermgr/OrderEntryCartScreens.xml 2006-06-22 23:06:52 UTC (rev 7846)
@@ -152,6 +152,8 @@
<section>
<actions>
<set field="title" value="Bulk Add Product"/>
+ <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
+ <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="10"/> <!-- 10 rows seems more appropriate given screen size, etc. -->
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddProducts.bsh"/>
</actions>
<widgets>
Modified: trunk/applications/order/widget/ordermgr/OrderEntryForms.xml
===================================================================
--- trunk/applications/order/widget/ordermgr/OrderEntryForms.xml 2006-06-22 18:58:33 UTC (rev 7845)
+++ trunk/applications/order/widget/ordermgr/OrderEntryForms.xml 2006-06-22 23:06:52 UTC (rev 7846)
@@ -136,7 +136,7 @@
</form>
<form name="LookupBulkAddProducts" type="multi" use-row-submit="true" list-name="productList" title=""
- target="BulkAddProducts" default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
+ target="BulkAddProducts" paginate-target="LookupBulkAddProducts" default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
<field name="productId" title="${uiLabelMap.ProductProductId}" widget-style="buttontext">
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems?productId=${productId}" target-type="inter-app"/>
</field>
More information about the Svn
mailing list