Blogs

eXpress App Framework Team

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.

Published Jun 11 2009, 04:35 PM by Oliver Sturm (DevExpress)
Filed under: ,
Technorati tags: XAF, v2009.2
Bookmark and Share

Comments

 

Dev101 said:

Hi

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

Regards

Andrew

June 11, 2009 12:19 PM
 

Steven Rasmussen said:

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)?

June 11, 2009 12:24 PM
 

Boris Bosnjak said:

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?

June 11, 2009 12:44 PM
 

John Pattison said:

Looks great!  I'm looking forward to it.

June 11, 2009 12:44 PM
 

Alain Bismark said:

Hi Oliver.

How is the syntax to use that?

regards

June 11, 2009 6:36 PM
 

Luc DEBRUN said:

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.

June 11, 2009 9:35 PM
 

Richard Morris (DevExpress) said:

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.

June 11, 2009 10:46 PM
 

Nuyttens Xavier said:

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

June 12, 2009 4:31 AM
 

Oliver Sturm (DevExpress) said:

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 :-)

June 12, 2009 4:53 AM
 

Luc DEBRUN said:

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.

June 12, 2009 7:21 AM
 

Boris Bosnjak said:

"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 :-)

June 12, 2009 9:23 AM
 

Alain Bismark said:

Thanks Oliver

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

Regards

June 12, 2009 1:06 PM
 

Dennis said:

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

June 12, 2009 2:50 PM
 

Marcello said:

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!

June 13, 2009 2:18 AM
 

Goldy Wang said:

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

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

June 13, 2009 10:14 PM
 

Steven Rasmussen said:

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

July 2, 2009 11:16 PM
 

ctodx said:

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

August 20, 2009 8:30 PM
 

Gary L Cox Jr [DX-Squad] said:

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

August 20, 2009 9:46 PM
 

Christian said:

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.

August 21, 2009 12:52 AM
 

Oliver Sturm (DevExpress) said:

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

August 21, 2009 4:05 AM
 

Phat Nguyen said:

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

August 3, 2010 2:37 AM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.