Does TableTree support partial (ajax) updates? -Matej
On Sun, Jul 26, 2009 at 3:00 PM, Vladimir K<koval...@gmail.com> wrote: > > > svenmeier wrote: >> >> ITreeProvider and IDataProvider are not exactly compatible, I don't >> think we gain anything by extending the former from the latter. >> > > I don't insist. But you do have IDataProvider wrapper over ITreeProvider in > TableTree.java :) > > > >> Selection is not part of the tree components. There are just to many >> different notions of selection: >> - single/multiple selection >> - subtree selection >> - continuous/discontinuous selection >> - several selections on a single tree (see example with checkable *and* >> selectable content) >> - no selection at all >> - ... >> >> IMHO it's better to leave these requirements out of a tree >> implementation. >> If you need a "selected" class attribute on a TableTree, override >> #newRowItem() and do it yourself. Ever noticed that DataTable has no >> notion of selection too? >> tag. Whatever. > > I din't find API to control expanded state of node. Say I would like to add > a button to collapse all nodes, or I would like to save expanded state and > restore when the user returns back to this page again. > > Please explain how I should operate with the state of tree (what nodes are > expanded and what nodes are selected). Once I realize I will be able to > override newRowItem properly. > > Also you have 2 Branch classes. I find it confusing a bit. > > I'm going to play with TreeTable tomorrow. > > -- > View this message in context: > http://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24666766.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org