jQuery in Action, 3rd edition
The moose likes JSF and the fly likes Tabs in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Tabs in JSF" Watch "Tabs in JSF" New topic
Author

Tabs in JSF

Santosh Kumar Nayak
Ranch Hand

Joined: Aug 02, 2011
Posts: 141
I wanted to implement Multiple level tab in JSF.

Is there any code sample which can help ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17149
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
Santosh Kumar Nayak
Ranch Hand

Joined: Aug 02, 2011
Posts: 141
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

Joined: Jun 25, 2001
Posts: 17149
    
  27

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tabs in JSF
 
It's not a secret anymore!