« Return to Thread: ObjectTable. How to customize TR attributes ?

Re: How to display object1.object2.attribute in ObjectTable ?

by Alejandro Scandroli :: Rate this Message:

Reply to Author | View in Thread

Hi Tobias,

Sorry for the late response.
Do you want to use nested ObjectTables? or do you want to use an
ObjectTable with an EditCollection?
In case you want to use it with an EditCollection check  this:
http://svn.trails.codehaus.org/browse/trails/trunk/trails/modules/trails-core/src/main/resources/org/trails/component/EditCollection.html?r=885
There you will find an example of how to do it, although it's commented out.

--
Alejandro Scandroli
Amneris: We build process-driven web applications.
http://www.amneris.es

On Dec 12, 2007 5:24 PM,  <superoverdrive@...> wrote:

> I have a class called RememberedClip that contains a Clip and a timestamp when this Clip was remembered.
>
> I want to display all remembered clips in an ObjectTable.
>
> Inside:
>
> public boolean displaying(IPropertyDescriptor description){
> ...
> }
>
> only a whole "Clip" is passed...so I have not found a way to display
> something like:
>
> rememberedClip.clip.title  rememberedClip.clip.category rememberedClip.when
>
> in a table....I also want to avoid displaying everything in a single column as the sorting of the table should still be possible.
>
> Would ObjectTable be able to do this somehow or not?
>
> Thanks!
>
> Toby
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: ObjectTable. How to customize TR attributes ?