• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tabs in JSF

 
Santosh Kumar Nayak
Ranch Hand
Posts: 143
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to implement Multiple level tab in JSF.

Is there any code sample which can help ?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way to create an tabbed GUI element in JSF is to use one of the third-party extensions such as RichFaces or IceFaces. Tabs are not a feature of the core JSF.

The product sites for these extensions will have the information that you need to use their tab controls.
 
Santosh Kumar Nayak
Ranch Hand
Posts: 143
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim,

Thanks for your response.

We already have an application with JSF version 1.2 in place, if we want to implement the tabs and go ahead with RichFaces then can let me know as what all changes we need to do to integrate the same.


 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The hard part is adding RichFaces. However, their instructions are pretty straightforward. The RichFaces tab controls are fairly easy to work with.

On the other hand, to use JSF 1.2 you'd need RichFaces 3. I strongly recommend that you consider moving up to JSF 2.x and using RichFaces 4, since both JSF 1.x and RichFaces 3 are obsolete. And it is a non-trivial task to migrate RichFaces 3 to RichFaces 4 . Might as well endure the pain now instead of being forced to at some inconvenient time later.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic