Hi Guys,
 
Have anybody encountered this...
 
The total attribute under the page:page element is giving me a wrong value. Its giving me 4 instead of 3. see xml...
 
<?xml version="1.0" encoding="UTF-8" ?>
- <document xmlns:xsp="http://apache.org/xsp" xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:page="http://apache.org/cocoon/paginate/1.0">
- <header>
  <title>Voxsant's Employee Maintenance - Search Results</title>
  </header>
- <body>
- <employeeresults>
- <record>
  <id>003</id>
  <firstname>Glenn</firstname>
  <lastname>Danzig</lastname>
  </record>
- <record>
  <id>004</id>
  <firstname>Ted</firstname>
  <lastname>Nasmith</lastname>
  </record>
  </employeeresults>
  </body>
- <page:page current="1" total="4" current-uri="/cocoon/richard_webapps/results-employees(1).html" clean-uri="/cocoon/richard_webapps/results-employees.html">
  <page:link type="next" uri="/cocoon/richard_webapps/results-employees(2).html" page="2" />
  </page:page>
  </document>
 
 
Thanks

Reply via email to