Are you using displaytag-el? <%@ taglib prefix="display" uri="http://displaytag.sf.net/el"%>
If not, try it with the pageScope. I just hit myself in the head for the second time (for not remembering that I solved this problem once before) because of the very same thing (I appeared to be doing everything right but saw no results) except I am using struts and have my forms set for session. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Stalp Sent: Wednesday, February 28, 2007 4:40 PM To: displaytag-user@lists.sourceforge.net Subject: Re: [displaytag-user] filling a table from a collection No, that doesn't work, same result. But thank you for the fast response. Gruss Christian >Try <display:table name="pageScope.bankCollection" ... -----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Christian >>Stalp >>Sent: Wednesday, February 28, 2007 4:26 PM >>To: displaytag-user@lists.sourceforge.net >>Subject: [displaytag-user] filling a table from a collection >>Hello out there, >>I just want to ask the best way for filling a table using the data of a >>collection. My attempt was: >>bankname = request.getParameter("bankname"); >> out.println("Bank: " + bankname + " was subscribed" ); >> out.println("Table of subscibed banks: "); >> Collection bankCollection = (Collection) >> >>request.getAttribute("bankliste");%> >> <display:table name="bankCollection" class="dataTable" pagesize="10"> >> <display:setProperty name="basic.msg.empty_list" value="No banks were >> found!"/> >> <display:column property="banknr" sortable="true"/> >> <display:column property="blz" sortable="true" /> >> <display:column property="bankname" sortable="true" /> >> </display:table> >>But the result is only "no banks were found". How can I connect >>this >>collection with the taglib? >>Thank you >>Gruss Christian -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- 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