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

Reply via email to