[OFBiz] SVN: r4942 - in trunk/applications: accounting/widget
product/widget/facility workeffort/widget
jacopo at svn.ofbiz.org
jacopo at svn.ofbiz.org
Tue May 3 04:57:59 EDT 2005
Author: jacopo
Date: 2005-05-03 03:57:45 -0500 (Tue, 03 May 2005)
New Revision: 4942
Modified:
trunk/applications/accounting/widget/AgreementScreens.xml
trunk/applications/product/widget/facility/FacilityScreens.xml
trunk/applications/workeffort/widget/RequestScreens.xml
Log:
Fixed problem with pagination in list forms rendered in widgets: now the "viewIndex" and "viewSize" parameters are taken from request and put in the screen context.
Modified: trunk/applications/accounting/widget/AgreementScreens.xml
===================================================================
--- trunk/applications/accounting/widget/AgreementScreens.xml 2005-05-03 08:41:36 UTC (rev 4941)
+++ trunk/applications/accounting/widget/AgreementScreens.xml 2005-05-03 08:57:45 UTC (rev 4942)
@@ -61,6 +61,9 @@
<actions>
<set field="title" value="Find Agreements"/>
<set field="headerItem" value="agreement"/>
+ <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
+ <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="50"/>
+
</actions>
<widgets>
<decorator-screen name="main-decorator" location="component://accounting/widget/CommonScreens.xml">
Modified: trunk/applications/product/widget/facility/FacilityScreens.xml
===================================================================
--- trunk/applications/product/widget/facility/FacilityScreens.xml 2005-05-03 08:41:36 UTC (rev 4941)
+++ trunk/applications/product/widget/facility/FacilityScreens.xml 2005-05-03 08:57:45 UTC (rev 4942)
@@ -78,6 +78,8 @@
<set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/>
<set field="headerItem" value="facility"/>
<set field="tabButtonItem" value="EditFacilityInventoryItems"/>
+ <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
+ <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="50"/>
<set field="facilityId" from-field="parameters.facilityId"/>
<set field="productTypeId" from-field="parameters.productTypeId"/>
Modified: trunk/applications/workeffort/widget/RequestScreens.xml
===================================================================
--- trunk/applications/workeffort/widget/RequestScreens.xml 2005-05-03 08:41:36 UTC (rev 4941)
+++ trunk/applications/workeffort/widget/RequestScreens.xml 2005-05-03 08:57:45 UTC (rev 4942)
@@ -66,6 +66,9 @@
<set field="title" value="List Requests"/>
<set field="tabButtonItem" value="requestlist"/>
<set field="headerItem" value="request"/>
+ <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
+ <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="50"/>
+
<set field="custRequestId" from-field="parameters.custRequestId"/>
<entity-one entity-name="CustRequest" value-name="custRequest"/>
<script location="component://workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh"/>
More information about the Svn
mailing list