Title: Message
The TestList class is a class the displaytag uses simply for its sample app (http://displaytag.org).  If you want to use it, it probably won't work since I doubt it's distributed with the displaytag JAR.  You can check by adding the following to the top of your JSP:
 
<%@ page import="org.displaytag.sample.*>
 
Also, the URI should match the displaytag's URI in the JAR:
 
http://displaytag.sourceforge.net/tlds.html
 
Matt
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Veronique Couderc
Sent: Thursday, May 06, 2004 10:12 AM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] display tag

Hi,

I'm trying to install the Display tag library; I've followed the instructions such as described:
http://displaytag.sourceforge.net/install.html

in my jsp page:
<%@ taglib uri="http://www.sensorynet.co.uk/intranet/" prefix="display" %>
<% List test = new TestList( 5 ); %>

<display:table name="test" pagesize="3" list="<%= test %>">
    <display:column property="<%= rs.getString("company_name") %>" title="Company Name" />
    <display:column property="address" />
    <display:column property="email" />
    <display:column property="phone" />
    <display:setProperty name="sort.behavior" value="list" />
    <display:setProperty name="paging.banner.include_first_last" value="true" />
</display:table>
I got this Apache error:
resolve symbol  : class TestList  ???
I have restarted Apache and compile the directory with ant?



Do I have to extract the entire package? where?
What I have done is extract only the files required: - These are in WEB-INF/lib
  • commons-logging.jar
  • commons-lang.jar
  • commons-collections.jar
  • commons-beanutils.jar
  • log4j.jar
Can you give me some advice or tell me where I can get some help please?

Best regards,

Veronique 

Reply via email to