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/05 13:42:47 UTC
How to customize the Tree component
Dear all,
I stuck in customizing the tree component for my project.
We have a two level structure in our tree source, whihc contains at first
level an entity "A" and a collection of type entity "B" as subentities of
"A". They are type compatible.
The problem is: only the second level links are clickable and can be
overwritten with a link to open a page showing the details of the clicked
entity "B". We want, that even the first level nodes of the tree show this
behavior. We want to be able to render them as page links open pages to
show the detail of the selected entity "A".
How to override the first level nodes in the same manner than the second
leven nodes?
Any help is appreciated.
Regards
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to customize the Tree component
Posted by Lance Java <la...@googlemail.com>.
Another tree example here:
http://tapestry-stitch.uklance.cloudbees.net/databasetreedemo
On 5 Jun 2014 14:43, "Erich Gormann" <e....@gormann.de> wrote:
> Dear all,
>
> I stuck in customizing the tree component for my project.
> We have a two level structure in our tree source, whihc contains at first
> level an entity "A" and a collection of type entity "B" as subentities of
> "A". They are type compatible.
>
> The problem is: only the second level links are clickable and can be
> overwritten with a link to open a page showing the details of the clicked
> entity "B". We want, that even the first level nodes of the tree show this
> behavior. We want to be able to render them as page links open pages to
> show the detail of the selected entity "A".
>
> How to override the first level nodes in the same manner than the second
> leven nodes?
>
> Any help is appreciated.
>
> Regards
> Eric
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: How to customize the Tree component
Posted by Erich Gormann <e....@gormann.de>.
Hi Geoff,
I already saw it and will give a try. Thanks
Regards
Eric
On Thu, 5 Jun 2014 22:05:32 +1000, Geoff Callender
<ge...@gmail.com> wrote:
> In the following example the text of the leaves has been made clickable,
> but I'm pretty sure the modes could be made clickable in exactly the same
> way.
>
>
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/treefromdatabasewithzones
>
> Does that help?
>
> Geoff
>
> On 5 Jun 2014, at 9:42 pm, Erich Gormann <e....@gormann.de> wrote:
>
>> Dear all,
>>
>> I stuck in customizing the tree component for my project.
>> We have a two level structure in our tree source, whihc contains at
first
>> level an entity "A" and a collection of type entity "B" as subentities
of
>> "A". They are type compatible.
>>
>> The problem is: only the second level links are clickable and can be
>> overwritten with a link to open a page showing the details of the
clicked
>> entity "B". We want, that even the first level nodes of the tree show
>> this
>> behavior. We want to be able to render them as page links open pages to
>> show the detail of the selected entity "A".
>>
>> How to override the first level nodes in the same manner than the second
>> leven nodes?
>>
>> Any help is appreciated.
>>
>> Regards
>> Eric
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to customize the Tree component
Posted by Geoff Callender <ge...@gmail.com>.
In the following example the text of the leaves has been made clickable, but I'm pretty sure the modes could be made clickable in exactly the same way.
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/treefromdatabasewithzones
Does that help?
Geoff
On 5 Jun 2014, at 9:42 pm, Erich Gormann <e....@gormann.de> wrote:
> Dear all,
>
> I stuck in customizing the tree component for my project.
> We have a two level structure in our tree source, whihc contains at first
> level an entity "A" and a collection of type entity "B" as subentities of
> "A". They are type compatible.
>
> The problem is: only the second level links are clickable and can be
> overwritten with a link to open a page showing the details of the clicked
> entity "B". We want, that even the first level nodes of the tree show this
> behavior. We want to be able to render them as page links open pages to
> show the detail of the selected entity "A".
>
> How to override the first level nodes in the same manner than the second
> leven nodes?
>
> Any help is appreciated.
>
> Regards
> Eric
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org