You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vasili Petrenko <va...@devintime.de> on 2013/11/16 14:47:22 UTC
Pre select Tree with zone update
I wont to search in the tree.
I have implemented the tree with zones.
Example:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/treefromdatab
asewithzones
I can pre expand the tree witch ExpansionModel but not pre select the leaf.
The selectionModel is not working in this example.
I try to do this witch JavaScript after rendered the page by searching the
<a> tag and fire click event. But it is to tricky.
Have anyone a suggestion?
AW: Pre select Tree with zone update
Posted by Vasili Petrenko <va...@devintime.de>.
Another question!
How can I focus the selected element in the tree. (jump to the link tag)?
I can change the style witch css but not jump to the selected node.
-----Ursprüngliche Nachricht-----
Von: Lance Java [mailto:lance.java@googlemail.com]
Gesendet: Sonntag, 17. November 2013 11:39
An: Tapestry users
Betreff: Re: Pre select Tree with zone update
Jumpstart fires it's own custom "leafSelected" event when you select a leaf.
So you'll need to make sure you mimic this action. From what I can see, that
means you'll need to initialise selectedClassification with a value.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
AW: Pre select Tree with zone update
Posted by Vasili Petrenko <va...@devintime.de>.
Hi Lance Java,
thank you very match. Its to simple :)
-----Ursprüngliche Nachricht-----
Von: Lance Java [mailto:lance.java@googlemail.com]
Gesendet: Sonntag, 17. November 2013 11:39
An: Tapestry users
Betreff: Re: Pre select Tree with zone update
Jumpstart fires it's own custom "leafSelected" event when you select a leaf.
So you'll need to make sure you mimic this action. From what I can see, that
means you'll need to initialise selectedClassification with a value.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Pre select Tree with zone update
Posted by Lance Java <la...@googlemail.com>.
Jumpstart fires it's own custom "leafSelected" event when you select a
leaf. So you'll need to make sure you mimic this action. From what I can
see, that means you'll need to initialise selectedClassification with a
value.