Sneak peek: navigation tree in XAF v2009 vol 2 (eXpressApp Framework)

Another new feature in v2009 vol 2 of XAF. This is very early stuff, I hear the beta won't be along before the end of June.

XAF now supports a tree view for navigation purposes, both in Windows Forms and ASP.NET. Of course this is very useful for applications that have a lot of different views. Here are some examples of navigation trees on both platforms - multiple levels, node images, ...

In conjunction with the navigation bar, there are many different styles that can be configured for the visualization of navigation structures. The Navigation Demo that comes with XAF allows programmers to change options and see their immediate effects in the UI.

21 comment(s)
Dev101

Hi

Does the TreeView in the web support Templates for the detail view?

Regards

Andrew

11 June, 2009
Steven Rasmussen

Very interesting... I have done something similar in some of my applications already.  Do all of the items in the tree have to correspond to a BO type?  Essentially what I do now in my application is place a ListView of the business objects in the NavBar.  Would I be able to set it up so that a root node would be the type of business object and then children nodes be the actual business objects (instead of a listview)?

11 June, 2009
Boris Bosnjak

I recently investigated how to get a TreeList in an ASP.NET XAF app and all the references seemed concerned with navigating views.

What I need is a way to navigate data.  For example, let say you have a client project task management app, so your top data nodes would be client companies, under each of which you'd have their projects, and under each project you'd have the tasks, and under each tasks you'd have time entries or something.  Clicking on a node should show say a ListView of that node's child data (clicking a project node would show a ListView of the project's tasks, for example) or a DetailView for the node (the project's details, for example).

Will this new feature do this hierarchical data navigation in addition to View navigation?

11 June, 2009
John Pattison

Looks great!  I'm looking forward to it.

11 June, 2009
Alain Bismark

Hi Oliver.

How is the syntax to use that?

regards

11 June, 2009
Luc DEBRUN

This is great. Looks great. Will be of immediate use. Thank you.

However PLEASE PLEAAAASE dont forget the basics and old promises. We really need recurrence in the Scheduler Module and integration of other common Devexpress components such as the RTF component.

11 June, 2009
Richard Morris (DevExpress)

Boris you can have reflexive data in a view ( see tv.devexpress.com/XAFtreelisthierarchies.movie ) but to show a fixed hierarchical relationship (Client-Project-Task) I suspect you would probably have to build a special purpose view.

11 June, 2009
Nuyttens Xavier

Great ! Looking forward to this. An absolute must for complex applications with many BO's.

12 June, 2009
Oliver Sturm (DevExpress)

Andrew - you mean for the nodes? The term "detail view" has a certain meaning for XAF, so I'm a bit confused. In any case I don't know the answer right now, but perhaps somebody from the team does if you can clarify.

Steven - the general architecture of our "navigation items" hasn't changed, afaik, so you'll be able to integrate all sorts of things in the tree just like you always could with the navbar.

Boris - I think what you describe is what we already support for Windows Forms, but not yet for the web. This will be supported in 9.2, but it wasn't quite ready for screenshots yet.

Alain - the syntax? Where? It's a model thing - NavigationItems can now be arranged to create a hierarchy, which is then reflected in the navigation UI.

Luc - we never forget anything, we prioritize :-)

12 June, 2009
Luc DEBRUN

I know Oliver ... but that's is really sad to see that the Scheduler module was the first one out and yet still unfinished. Recurrence is such an important need, how can it not be prioritized more than that? Am not disapointed to have chosen XAF, but that particular point is a little bit sour.

12 June, 2009
Boris Bosnjak

"This will be supported in 9.2" - that's great news!  I'd love to see a DevExpress TV clip illustrating the feature once it comes out :-)

12 June, 2009
Alain Bismark

Thanks Oliver

I refer to use an attribute at class level to specify the arrangement, this can help to classes generator.

Regards

12 June, 2009
Dennis

I am very happy to see useful new things in XAF! But the list is still long! My missing points:

- Search functionality

- Multi step (Wizard like) GUI

12 June, 2009
Marcello

Very well! Why don't add a search textbox like Apple Spotlight? It's very usefull! I hope that all item of tree is checked by security system and the position can be defined as an attribute of the class!

13 June, 2009
Goldy Wang

yes,  as Steven Rasmussen said, i hope every treeNode can easily corresponded with an Business object.

  And all the treeData can be lazy-loaded...

13 June, 2009
Steven Rasmussen

Just a suggestion but you may want to put tags on this post (XAF, 2009.2, etc).

2 July, 2009
ctodx

We're just about to release v2009.2 and it would be a good idea to have an "accumulator"

20 August, 2009
Gary L Cox Jr [DX-Squad]

Are you going to supply the source for these examples with the release? I would like to see how you configured this.

20 August, 2009
Christian

This feature is so cool I was going to do something like that myself but then you guys turned out to do it for me.

21 August, 2009
Oliver Sturm (DevExpress)

Gary - yeah, source code of these samples is included.

21 August, 2009
Phat Nguyen

I can't see ur source ?????

3 August, 2010

Please login or register to post comments.