Author: sichen
Date: Thu Aug 31 16:23:21 2006
New Revision: 439096
URL:
http://svn.apache.org/viewvc?rev=439096&view=revLog:
Added pagination to List of contact list party.
Modified:
incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml
incubator/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml
Modified: incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml?rev=439096&r1=439095&r2=439096&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml (original)
+++ incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml Thu Aug 31 16:23:21 2006
@@ -154,7 +154,7 @@
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
</form>
<form name="ListContactListParties" type="list"
- title="" list-name="listIt"
+ title="" list-iterator-name="listIt" paginate-target="ListContactListParties"
default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext">
<actions>
<service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
Modified: incubator/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml?rev=439096&r1=439095&r2=439096&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml (original)
+++ incubator/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml Thu Aug 31 16:23:21 2006
@@ -122,6 +122,11 @@
<set field="tabButtonItem" value="ContactListParty"/>
<set field="labelTitleProperty" value="PageTitleListContactListParty"/>
+ <!-- parameters for pagination -->
+ <set field="queryString" value="contactListId=${parameters.contactListId}"/>
+ <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="20"/>
+
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListContactLists"/>
<set field="contactListId" from-field="parameters.contactListId"/>
</actions>