• 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

Tree and forms - like Windows Explorer. How to display several forms in the same screen location...

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to create a screen that works very much like "windows explorer". The screen is to be divided into 2 panels. The left panel

will contain a tree. When the user clicks on a node in the tree, I want to render the relevent form, in the right hand panel.

Please note, each tree node renders a different form.

Please tell me how to render different forms (one at a time) in the same position (same coordinates) on the right hand panel.

Should I stack the forms on top of each other at design time and set "rendered" property to false, then set the relevant form to

rendered when the user clicks a node?

Also, please tell me the best component to use in order to render a screen with 2 columns - very much like "windows explorer".

I have already got the tree working.

Thank you.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IBM got this kind of display working years ago and uses it for their online documentation library on their boulder.ibm.com site. They used HTML Frames, where the left-hand frame contained an applet and the righthand frame contained content. However, a JSF tree (such as the RichFaces tree control) or a JavaScript tree control can also work in place of an applet.
 
Tokunbo Oke
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your response. As a work around, I have used IceFaces stackedPanel.
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic