Tree component in 3.0 version

UI Components for JSF
ozbluesky
Posts: 20
Joined: 30 Oct 2010, 06:39

12 May 2011, 08:19

Hi,


I checked the online showcase 3.0: http://www.primefaces.org/showcase-labs/ui/home.jsf
I found the tree component isn't as good as before.

There is no lines to link parent-child nodes. There are extra spaces between rows, and make tree not compact enough.

Is this final of tree component of 3.0 version?

OZ
PrimeFaces 2.2.1/3.0M1, JSF2.0, Netbean 6.9.1 GlassFishes 3

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

12 May 2011, 11:02

Hi,

You aren't alone who don't like the new tree. http://primefaces.prime.com.tr/forum/vi ... f=3&t=8538

I mean, it's no bad, but look&feel of the old one was kinda better. Matter of taste.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 May 2011, 11:22

Look and Feel would be same, features might be added, any bugs will be fixed but UI is that.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 May 2011, 11:23

Some like Some don't. For me, I don't like lines in trees.

Regarding functionality and theming, old tree sucks.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

12 May 2011, 11:31

Old tree sucks, no doubt.

Adding lines per configuration would be a nice feature in the new tree. They are helpful for orientation if the tree is too large and you have to scroll e.g.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

ozbluesky
Posts: 20
Joined: 30 Oct 2010, 06:39

12 May 2011, 18:58

I agree that people have different opinion about look & feel. However, think about conventions, almost all users uses Window everyday, and used to see lines between nodes. Lines between parent-child actually carry information, especially when you have a big tree. It helps to tell the node level without having to count levels all the way back to parent.

For space between rows, it may look nice when you have only a few children nodes, or in tree table. But it takes too much space unnecessary when you have a bigger tree. Right now in showcase, 15 nodes takes about half of my screen height, means, when I have 30+ nodes, I have to scroll.

This is my 2 cents.

Thanks.
OZ
PrimeFaces 2.2.1/3.0M1, JSF2.0, Netbean 6.9.1 GlassFishes 3

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

12 May 2011, 19:09

Hi ozbluesky.

I think, Windows 7 doesn't have lines ;-) But general I agree with you 100%. I use Linux / KDE and can't imagine a tree without lines. Dots are nice too. Look jTree please http://www.jstree.com/ It uses dots and looks compact. BTW, you can switch off dots in jTree or enable them again. This is the feature I wish me in PrimeFaces :-)
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

12 May 2011, 21:49

i agree with ozbluesky and oleg - the lines/dots are must have because of user experience. It would be great if it would be configurable.
Isn't it possible to reduce the line-height with css?
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Paolo Proni
Posts: 7
Joined: 28 Jul 2011, 15:38
Contact:

20 Jun 2012, 10:53

The lines or dotted lines are very useful; a customer of mine noticed that Tree has not and it is difficult to read like this.
How can we fill a request of enhancements for that feature ?

User avatar
T.Rollinger
Posts: 86
Joined: 16 May 2012, 12:24
Location: Where the good cars are built!
Contact:

20 Jun 2012, 11:17

Yes, I'm interested in that as well.
For a web application for a federal state government it is mandatory to identify tree items exactly.
Every government has to employ a quota of handicapped people.
And as some of the employees are limited with their sight, they use additional devices to improve it.
I'm currently only implementing a POC and the missing lines in the tree are a heavy weight decision criteria for or against PF as the leading JSF framework.
As there any way to configure it?
PrimeFaces 5.1
JSF 2.2 (Mojarra 2.2.4)
Apache Tomcat 7.0.55
JDK 7
Spring 3.1.2
Eclipse 4.3 Kepler

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 45 guests