use
columns="[0], [1], [2]",
or if number of columns is unknown, build it at runtime:
columns="ognl:funnyColumns"
// colNum is number of columns
public String getFunnyColumns()
{
StringBuffer sb = new StringBuffer(colNum*5);
for (int i=0; i<colNum; i++)
{
if (i!=0)
sb.append(", ");
sb.append("[").append(i).append("]");
}
return sb.toString();
}
Jorge Quiroga wrote:
> Hi Folks:
>
> I'm trying to put information extracted from a DB into contrib:Table
> unsuccessfully, because the query is generated dynamically. The Query
> works, and return an ArrayList composed by Object[], each Object[]
> represents a row and the output is the pointer not the data inside.
> The problem is that I cannot found an example with these
> characteristics, always is a List with known number of columns, and
> known data type. Someone has an example were I can see how to show
> results got from a dynamically generated query or what alternatives I
> have to show this information in a Tapestry way, preferably using
> contrib:Table?
>
>
> Thanks in advance
>
> Jorge
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]