Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
Sure, wicket-tree is still in its conception phase. I'll tidy up the project structure soon. Sven On Sa, 2009-07-25 at 18:57 -0400, James Carman wrote: So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other projects? On Jul 25, 2009 6:18 PM,

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
Nested tree and tree table seems promicing. What I missed in your example is single-selection mode, and sortable headers with filters. One of my the upcoming tasks is to build a selector component that knows whether the object is hierarchical and puts inside a datatable with navigator or

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
Why you don't extend ITreeProvider from IDataProvider? They looks compatible for now. I can add IDataProvider to my implementation class and delegate roots() to iterator(). From the other hand it is just extra method. One thing to mention. There should be full row select option. You just need to

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
I find the source code pretty clean and easy to understand. Especially if you are familiar with DataTable component. For instance I see that it is easy to use Ajax versions of Toolbars instead of static (however DefaultAjaxFallbackTreeTable would be usefull) Looking forward for the

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
Hi, I've added single selection to the example. I'm not sure how sorting and filtering applies to hierarchical data though. API will be finalized after sufficient feedback from the Wicket community - so keep on firing questions ;). Sven On So, 2009-07-26 at 01:51 -0700, Vladimir K wrote:

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
Just make IDataProvider in charge for sorting and filtering like DataTable does. Filtering in tree could be seen in Eclipse preferences for instance. svenmeier wrote: Hi, I've added single selection to the example. I'm not sure how sorting and filtering applies to hierarchical data

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
Hi, ITreeProvider and IDataProvider are not exactly compatible, I don't think we gain anything by extending the former from the latter. Selection is not part of the tree components. There are just to many different notions of selection: - single/multiple selection - subtree selection -

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
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

Re: [ANN] wicket-tree project

2009-07-26 Thread Matej Knopp
Does TableTree support partial (ajax) updates? -Matej On Sun, Jul 26, 2009 at 3:00 PM, Vladimir Kkoval...@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.

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
It does not. It is stated at the bottom of the home page http://code.google.com/p/wicket-tree/ For ajax updates it should behave not worse than DataTable component. Matej, I find the idea of re-using data provider, columns and cells developed for DataTable very important. Matej Knopp-2 wrote:

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
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 :) Yes, indeed ;). I din't find API to control expanded state of

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
Sven, i added TableTree (why not TreeTable?) to my panel and added a button to switch between tree and table representation. The problem is that DataTable relies on the user that binds it to the table tag at the time when your TableTree contains table within. It is not a big deal just an

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
Since you update AbstractTree in ajax request I can't omit etra 'div' tag that encloses table tag neither by using wicket:component nor by calling setRenderBodyOnly(true). Vladimir K wrote: Sven, i added TableTree (why not TreeTable?) to my panel and added a button to switch between tree

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
Hi, *Nested*Tree... *Table*Tree... I hope this makes sense ;). I will align the markup for TableTree with the markup of DataTable, thanks for the hint. Sven On So, 2009-07-26 at 16:29 -0700, Vladimir K wrote: Sven, i added TableTree (why not TreeTable?) to my panel and added a button to

Re: [ANN] wicket-tree project

2009-07-25 Thread Martin Makundi
Any live examples, would be nice? ** Martin 2009/7/25 Sven Meier s...@meiers.net: Hi all, i would like to announce wicket-tree, a new project hosting a clean slate development of tree components for Wicket. The API has not been fully stabilized yet but you are invited to take a first

Re: [ANN] wicket-tree project

2009-07-25 Thread Major Péter
I didn't found live examples neither, but after checking out ( svn checkout http://wicket-tree.googlecode.com/svn/trunk/ wicket-tree-read-only ) and building the project, there is a war file, which you could deploy and see the examples. // at the chekcedfoldercontent (nested tree) example if

Re: [ANN] wicket-tree project

2009-07-25 Thread Sven Meier
Hi, the project contains an example application: mvn jetty:run ... should get you going. The usual Jetty start class is contained too. So do a mvn eclipse:eclipse ... and you're able to play with it in Eclipse. Regards Sven On Sa, 2009-07-25 at 22:29 +0300, Martin Makundi wrote: Any

Re: [ANN] wicket-tree project

2009-07-25 Thread Sven Meier
Hi Peter, // at the chekcedfoldercontent (nested tree) example if I check the parent, then the kids won't be checked in, is this for purpose? no purpose here, it's just an example and has nothing to do with the tree code. Is there any chance, that a tree would come, which nodes are links

Re: [ANN] wicket-tree project

2009-07-25 Thread Major Péter
Cool, that was exactly, what I was looking for. Thanks. Peter 2009-07-26 00:06 keltezéssel, Sven Meier írta: Hi Peter, // at the chekcedfoldercontent (nested tree) example if I check the parent, then the kids won't be checked in, is this for purpose? no purpose here, it's just an example

Re: [ANN] wicket-tree project

2009-07-25 Thread James Carman
So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other projects? On Jul 25, 2009 6:18 PM, Major Péter majorpe...@sch.bme.hu wrote: Cool, that was exactly, what I was looking for. Thanks. Peter 2009-07-26 00:06 keltezéssel, Sven Meier írta: Hi