Just as a quick note on that, I did some informal research recently on tree behaviour. My findings showed that users expect a +/- to expand and collapse, and that they expect label clicks to expand (if expandable) AND activate, but not collapse. I think that you'll find that windows explorer works this way by default, as do several javascript and online trees. I accomplished this with tacos:Tree and the same minor hack as Kevin is using and my users are very happy with it. Great job on tacos:Tree!
Cheers, Mark On 5/24/05, Viktor Szathmary <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
