Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3058882
By: pdonachy
Hi,
im trying to allow a user to spec "n" the number of results per page from a
query. In the List page I pass in the number from a query string and then try
to populate the dbforms tag. all other items are work, but the maxrows does not.
I get the first page ok with "n" results. However when I click for the next
page of results I get a blank page. This is the first call to a servlet/control
page.
code as follows
StringBuffer sbmr = new StringBuffer("");
if (request.getParameter("strmr")!=null
&& !request.getParameter("strmr").equals(""))
sbmr.append(request.getParameter("strmr"));
<db:dbform autoUpdate="false" followUp="/pol_list.jsp"
maxRows="<%=sbmr.toString()%>"
tableName="<%=sbTable.toString()%>" whereClause="<%=whereClause.toString()%>" >
any help much appreciated.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=55830
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms