Is it planned to add some kind of listener when expanding/collapsing ? It's quite useful when one wants to load node's children on-demand.
-Vjeran ----- Original Message ----- From: "Viktor Szathmary" <[EMAIL PROTECTED]> To: "Tapestry users" <[email protected]> Sent: Tuesday, May 24, 2005 6:52 PM Subject: Re: Tacos Tree Question Hi, glad you found tacos:Tree reasonably easy-to-use, that was the design goal :) I found the contrib:Tree's behavior of automatically expanding on label clicks annoying - trees generally should not work that way (think windows explorer, eclipse, etc). User expectation is: +/- expands, label performs selection but no expansion. regards, viktor On 5/24/05, Kevin Menard <[EMAIL PROTECTED]> wrote: > > On May 23, 2005, at 10:38 PM, Kevin Menard wrote: > > > > > Now I have another question :-) Is there a way to get the "label" > > to expand the node as well. It looks like the file system tree > > does this, so I'll look into that. Just wondering if someone else > > might have experience with this. As an example look at how > > contrib:Tree treats the +/- & label as a single link. Clicking on > > the label triggers the appropriate action as well as expanding the > > node. That's sorta the thing I want. > > > > Replying to myself, I found I could do this by modifying the > tacos:Tree "state" parameter in my DirectLink listener. It's a bit > funky having to do this by hand since I relied so much on > contrib:Tree doing it, but the work is minimal and straightforward. > > -- > Kevin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 20.5.2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
