Hi Ed !
Thank you for your reply,
I got a NULL when using the MAP Solution, perhaps I'm forgetting something
?.
I have been debugging the code and in fact the Map is created and inserted
in the ArrayList.
I put my code:
ArrayList ar = new ArrayList();
ResultSetMetaData meta = rs.getMetaData();
while (rs.next() && j++ < numeroMaxRegistros) {
Map elementos = new HashMap();
for (j = 1; j <= cols; j++) {
elementos.put(meta.getColumnName(j), rs.getString(j));
}
ar.add(elementos);
}
request.setAttribute("array",ar);
%>
<display:table name="array" requestURI="sqlconsAction.do?accion=sort"
pagesize="10" defaultsort="1" defaultorder="ascending" >
<display:setProperty name="paging.banner.group_size" value="8"/>
<display:setProperty name="paging.banner.item_name">
</display:setProperty>
<display:setProperty name="paging.banner.items_name">
</display:setProperty>
<display:setProperty name="paging.banner.no_items_found">
</br></display:setProperty>
<display:setProperty name="paging.banner.one_item_found">
</br></display:setProperty>
</display:table>
Thanks
Jaumeg
--
View this message in context:
http://www.nabble.com/Database-Console---help-t1311595.html#a3508713
Sent from the DisplayTag - General forum at Nabble.com.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user