EXTTLD paginação

0 respostas
S

Alguém ai já usou exttld e conseguiu com sucesso a paginação, já tentei fazer até na mão e não obtive sucesso…

Não sei se precisa mas estou usando o seguinte exemplo:

<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="utf-8"%>
<%@ taglib tagdir="/WEB-INF/tags/ext" prefix="ext" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>ExtTLD test</title>
</head>
<body>
	<ext:body>
		<ext:window title="Window example" width="300" height="240" id="window1">
			<ext:grid.gridPanel border="false" id="grid1" >
				<ext:grid.columnModel>
					<ext:grid.rowNumberer />
					<ext:grid.column sortable="true" fieldsType="float" header="Float Column" />
					<ext:grid.column header="Text Column" />
				</ext:grid.columnModel>
				<c:forEach varStatus="status" begin="1" end="10">
					<ext:grid.row>
						<ext:grid.rowCell>${status.index}00.0</ext:grid.rowCell>
						<ext:grid.rowCell>Text test ${status.index}</ext:grid.rowCell>
					</ext:grid.row>
				</c:forEach>
			</ext:grid.gridPanel>
		</ext:window>
	</ext:body>

	
	<ext:onReady>
		window1.show();

  			grid1.bbar = new Ext.PagingToolbar({
          pageSize: 5,
		store:ds,
          displayInfo: true,
          displayMsg: 'Displaying topics {0} - {1} of {2}',
          emptyMsg: "No topics to display"
      })


	</ext:onReady>
</body>
</html>
Criado 27 de março de 2009
Respostas 0
Participantes 1