Senhores,
preciso fazer uma pagina��o(por exemplo 10 registros por pagina, tendo a fun��o, primeira, pr�ximo, anterior, �ltimo registro) numa consulta com o Struts...
Algu�m pode me dar uma luz:
O c�digo � este:
<%-- loop que percorre a Collection --%>
<logic:iterate name="registros" id="reg">
<tr>
<td align="center">
<bean:write name="reg" property="idCurso"/>
</td>
<td>
<html:link page="/incluirCurso.do" paramId="reg"
paramName="reg" paramProperty="idCurso">
<bean:write name="reg" property="nome"/>
</html:link>
</td>
<td><bean:write name="reg" property="abreviacao"/></td>
<td>
<html:link page="/incluirCurso.do" paramId="idCurso"
paramName="reg" paramProperty="idCurso">
<bean:message key="prompt.excluir"/>
</html:link>
</td>
</tr>
</logic:iterate>
Se algu�m j� tiver feito isso alguma vez pe�o uma dica e/ou ajuda.
Abs
Conrad Peres.
Yahoo! Acesso Gr�tis - navegue de gra�a com conex�o de qualidade!
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/jug-petropolis/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
