permaculture playing cards*
The moose likes JSF and the fly likes Help getting started creating a static window on a site that is there no matter what page you are on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Help getting started creating a static window on a site that is there no matter what page you are on" Watch "Help getting started creating a static window on a site that is there no matter what page you are on" New topic
Author

Help getting started creating a static window on a site that is there no matter what page you are on

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

I am wanting a "project explorer" pane to be on the left side of a site. It will be exactly the same thing you see in the Eclipse IDE (the project explorer pane on the left side). It will have a tree form view that is collapsable and expandable (again, just like eclipse). Whatever you have selected in the project explorer pane (say Project 1) will affect what you see on the right side. There will be a horizontal bar of tabs across the top with stuff like add, search, and edit, etc.
So if someone has project 1 selected from the pane, and is on the edit tab, then the user will be able to edit project one.
I hope Ive explained this well enough, I usually have a problem trying to paint a picture with words.

But I am not sure where to start to create a pane like this. I'm not even sure what to search for. I mean I know I could put this pane on every page, but I'm not sure how to have what is selected from the pane affect what you see on the right side. If someone could just give me an idea of what to research that will be enough. I'm willing to do the work, I just am not sure where to start. I'm guessing this will probably be done in the .java code, not on the actual jsp pages?

BTW, I am using Eclipse EE and JSF. I plan to use JSF to create the entire page because I really dislike the drag and drop page creators like FrontPage. Any tips or help on this would be great.
Thanks


True wisdom is in knowing you know nothing - Socrates
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You may find Tomahawk's t:tree component useful.
http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_tree.html
 
 
subject: Help getting started creating a static window on a site that is there no matter what page you are on