SumDecorator, decorator pattern? I didn't see anything about that in any
documentation... Can you give-me some example or a link?

Thank you,

Mael Caldas

On 9/1/06, andyhot <[EMAIL PROTECTED]> wrote:

cotrib:Table can't do anything by itself
but I'd use the decorator pattern...


public Collection getData()
{ return new SumDecorator( getRealData() ); }

Mael Caldas wrote:
> Hi,
>
> I'm using the contrib Table component, iterating over a Collection of
Row
> Objects, and setting the collumns values with a String parameter. I
> want to
> get the last row of the table with a sum of all data on each column.
Does
> anybody know how to do this in a simple way?
>
> Thank's!
>
> Mael Caldas
>


--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to