Title: Message
That is a valid way to pass a list to the display table. I have successfully done it that way.
 
Are you getting an error message of some kind?
 
Things to check:
1. Make sure the display tag library is referenced at the top of your jsp page.

<%@ taglib prefix="display" uri="/WEB-INF/lib/displaytag.tld" %>

2. Make sure the arraylist is populated.

3. Make sure you are not losing the contents of the request scoped objects before you get to your page by a redirection or something. If so, you may have to use session scope to store the arraylist. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pavan Kumar
Sent: Tuesday, April 26, 2005 1:36 AM
To: [email protected]
Subject: [displaytag-user] Problem

Hi,

  I have a problem in passing an arraylist to a display tag.

I have populated the data in an arraylist and putting the arraylist object in request like below

request.setAttribute("results",al);

and after this step i am calling display tag

<display:table name="results" .... /> 

is it the right way of passing arraylist object to the displaytag or anyother way i am not able to retrieve the data in the table with this code. Please help me out in this regard. I didnt get much information in the site displaytag.org

regards,
Pavan.




****************************************************************************

This email may contain confidential
material. If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.

 ***************************************************************************

 

Reply via email to