You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2011/03/18 00:52:24 UTC

svn commit: r1082756 - /oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java

Author: bfoster
Date: Thu Mar 17 23:52:24 2011
New Revision: 1082756

URL: http://svn.apache.org/viewvc?rev=1082756&view=rev
Log:

- put totalPages in xmlrpc hashtable ProductPage so that php xml-rpc client can grab it

--------------------

Modified:
    oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java

Modified: oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java?rev=1082756&r1=1082755&r2=1082756&view=diff
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java (original)
+++ oodt/branches/wengine-branch/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java Thu Mar 17 23:52:24 2011
@@ -119,7 +119,7 @@ public final class XmlRpcStructFactory {
 
     public static Hashtable<String, Object> getXmlRpcProductPage(ProductPage page) {
         Hashtable<String, Object>productPageHash = new Hashtable<String, Object>();
-//        productPageHash.put("totalPages", new Integer(page.getTotalPages()));
+        productPageHash.put("totalPages", new Integer(page.getTotalPages()));
         productPageHash.put("pageNum", new Integer(page.getPageNum()));
         productPageHash.put("pageSize", new Integer(page.getPageSize()));
         productPageHash.put("numOfHits", new Integer(page.getNumOfHits()));