Tema: Displaytag
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/08/2008, 02:53
Pado
 
Fecha de Ingreso: noviembre-2003
Mensajes: 21
Antigüedad: 20 años, 5 meses
Puntos: 0
Displaytag

Hola,
Estoy intentando usar displaytag para realizar una paginacion en Jdeveloper pero no me deja ejecutarla. He colocado los archivos "displaytag-1.1.1.jar" y "displaytag-export-poi-1.1.1.jar" en WEB-INF/lib.
El codigo referido al displaytag es el siguiente:

<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<display:table name="lista"
defaultsort="1"
pagesize="4" >

<display:column property="id_cancion" title="ID" sortable="true" headerClass="sortable"/>
<display:column property="nombre" title="TITULO" sortable="true" headerClass="sortable"/>
<display:column property="categoria" title="CATEGORIA" sortable="true" headerClass="sortable"/>
<display:column property="ubicacion" title="UBICACION" sortable="true" headerClass="sortable"/>
</display:table>


Los errores ke me da son estos:

Error(14): Errors parsing tag :table oracle.jsp.parse.JspParseException: /index.jsp: Line # 2, <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
Error: Unable to locate class org.displaytag.tags.TableTagExtraInfo in table in TLD file META-INF/displaytag.tld in /WEB-INF/lib/displaytag-1.1.1.jar

Error(18): Unable to instantiate tag: display:column (class: org.displaytag.tags.ColumnTag) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.

Error(18): property is not a property of org.displaytag.tags.ColumnTag.


Estos dos ultimos, me los da por cada display:column que hago.

¿He instalado mal la libreria?¿Cual es el problema?