You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Erich Gormann <e....@gormann.de> on 2014/06/10 13:52:50 UTC
Tree with different data types
Hi all,
is it possible to use different data types for the top and sublevel nodes
of a tree component? The adapters type parameter seems to lead to the
restriction, that top and sub level nodes must by of same type.
Best regards
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tree with different data types
Posted by Erich Gormann <e....@gormann.de>.
Hi Lance,
i will check it and give it a try.
Thanks a lot.
Eric
Am 10.06.2014 20:34, schrieb Lance Java:
> Take a look here where two entity types are used to create a tree (Category
> and Item)
>
> http://tapestry-stitch.uklance.cloudbees.net/databasetreedemo
>
> Your nodes must be a common type but a single node can encapsulate multiple
> types.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tree with different data types
Posted by Lance Java <la...@googlemail.com>.
Take a look here where two entity types are used to create a tree (Category
and Item)
http://tapestry-stitch.uklance.cloudbees.net/databasetreedemo
Your nodes must be a common type but a single node can encapsulate multiple
types.