• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which technology to use to render tree structure on UI.

 
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I need to decide on a technology for a requirement to display tree on ui.
i have some data in java objects forms which has to be rendered in form of tree on UI.
java objects are going to be objects (Account object) .Each Account object can have nested Account objects inside.
One account can have many acconuts inside .
Technologies in my mind were:
Jquery tool
ANTLR.
XML
which one of them is good and easy to use.If any one has some examples on this, that would be great.
Also java-class structure equivalent i decide is :Account Class should have Map of Accounts.

 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That very much depends on what the UI is. Swing? Web application? Console? Something else?
 
Lucky J Verma
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MY UI is based on JSP/JSTL (taglibs,display tag lib) and includes javascript ,some small external javascript libraries and whole development is based on java 5 with Spring framework.

I am thinking to have Java code like this:
 
Paul Clapham
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You asked about technology to display or render a tree structure. But you keep speculating about data structures which you would use to store a tree structure in your data model.

So what's your question? Are you really asking about how to display the tree, or how to store it?
 
Lucky J Verma
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Yes i am actually interested in how to display a tree structure and store it and i
mentioned java structure to tell readers my current state that i thought could be helpful in making some suggestions.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic