Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Tree  RSS feed

 
Kalyan Dasika
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone used JSF to render trees? How is the performance when these tree grow big?
We currently use a Java script component (works only with IE) to build and display trees that could grow bigger dynamically as you navigate (by clicking a child node). We were looking into replacing it with the browser independent JSF tree component.

the tree could grow to about half a million nodes os please give your thoughts if we are thinking in the right direction. The emphasis here is "Faster response time". The current tree component is decent enough but its getting really hard to maintain and we're stuck on using only IE.

Thanks
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used the JSF tree provided by JSF demo component in Sun RI examples. And trust me it's crap, big crap I have to do lot of re-writing.

I have no idea about Tree components provided by My-faces etc. but should be better than one provided in Sun examples
[ March 16, 2005: Message edited by: Varun Khanna ]
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tree component included in the SUN JSF-RI demo package has other purpose that using it as is in your application. This demo shows some aspects of the writing custom component process. Therefore, the components by themself are very simple. That allows newbies to got the idea.
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Issue is not that it's simple, (isn't that's why it is a demo component)problem is - whatver is provided isn't tested at all i.e. even the simplest of implementation like parsing isn't done properly and that's not good.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!