Trying puting your ArrayList is session scope.

Chetan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
SourceForge.net
Sent: Saturday, July 29, 2006 7:08 PM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] [displaytag - Help] Populated ArrayList
returningno values


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3843726
By: nightfox02

I have an ArrayList of Location Objects each with name, phone, address,
city.
Currently I have a setup where I can go

LocationList loc = new LocationList("CA");
System.out.println(loc.size());

The preceding returns a list size of 200 objects in netbeans.  However, once
I try to display the list in display tag I get a list back that contains
absolutely
nothing and displaytag shows that there is NOTHING TO DISPLAY.  The list
works
when I manually do a LocationList.add(blah, blah) in the .jsp.  However, why
is my list going away with displaytag?


<jsp:scriplet>
request.setAttribute("test", new LocationList("CA");
</jsp:scriplet>
display:table name= "test" class="${tableclass}" >
 </display:table>

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to