Bob,

Sometimes, a column's content is best represented by textarea which does not
fit nicely in the given row layout. 

Thanks for the tip. I'll check it out.


sabob wrote:
> 
> Hi Florin,
> 
> florin.g wrote:
>> Is there a way to do manual table layout in the likes of forms?
>> 
>> $table.startTag()
>>    #foreach($row in $table.rows)
>>        $row.cell.myColumnOne $row.cell.myColumnTwo
>>    #end
>> $table.endTag()
>> 
>> or something similar?
> 
> 
> Velocity does have the capability to invoke methods on Java objects. 
> So you can do something like this:
> 
>    <table border="1">
>      #foreach($row in $table.rowList)
>        <tr>
>          #foreach($col in $table.columnList)
>            <td>
>               $col.getProperty(${row})
>            </td>
>          #end
>        </tr>
>      #end
>    </table>
> 
> 
> Is there something in particular you want to achieve which isn't 
> possible with Table? Or just curious? :)
> 
> kind regards
> 
> bob
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Table-layout-tp3031400p3033614.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to