EasyUI Forum
June 24, 2024, 11:05:41 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid change page servlet can not get parameter "page"  (Read 7262 times)
jikey_zhang
Newbie
*
Posts: 1


View Profile
« on: January 31, 2013, 12:44:40 AM »

Hi!
I 'm use the datagrid base on demo . When I change page , the value of the parameter "page"  is null. But I can get the value of the parameter "rows". It is visible with 1.3.2 versions.

JSP Code:

<table id="dg" title="My Users" class="easyui-datagrid" style="width:700px;height:250px"
          data-options="singleSelect:true,collapsible:true,url:'/GetUsersInfo.do' "
          toolbar="#toolbar" pagination="true"          
          rownumbers="true" fitColumns="true" singleSelect="true">
     <thead>
          <tr>
             <th field="firstname" width="50">firstname</th>
             <th field="lastname" width="50">lastname</th>
             <th field="phone" width="50">phone</th>
             <th field="email" width="50">email</th>
          </tr>
       </thead>
 </table>

JAVA Code :

String currentpage = (String)request.getParameter("page");            // 当前页
log.info("currentpag000e==["+currentpage+"]");
LOG:
currentpag000e==[null]

thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!