[ECSide] 请大家指点一下,为什么我的翻页还是排序等所有功能都是白屏但是不抱错呢?
ms16211803
2007-10-19
jsp页面如下:
<ec:table items="noteList" var="note" tableId="noteTable" retrieveRowsCallback="org.extremecomponents.table.callback.LimitCallback" filterRowsCallback="org.extremecomponents.table.callback.LimitCallback" sortRowsCallback="org.extremecomponents.table.callback.LimitCallback" style="width:100%" width="60%" rowsDisplayed="5" action='${pageContext.request.contextPath}/bookDefault' imagePath='${pageContext.request.contextPath}/images/table/*.gif'> <ec:row highlightRow="true"> <ec:exportXls fileName="excel.xls" tooltip="EXCEL" view="xls" /> <ec:column alias="userId" title="用户ID">${note.userId}</ec:column> <ec:column property="content" title="记事本内容" /> <ec:column property="time" title="创建时间" cell="date" parse="yyyy-MM-dd" format="MM/dd/yyyy" /> <ec:column alias="keys" title="关键字">${note.keys}</ec:column> </ec:row> </ec:table> bookDefault的servlet似乎有错误,大家能给个例子告诉我怎么写吗? |
|
ms16211803
2007-10-19
ARN [org.extremecomponents.table.callback.LimitCallback] - You need to specify the totalRows (as an Integer) to use the org.extremecomponents.table.callback.LimitCallback.
|