File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 95
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: 16065
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Santosh Kumar Nayak
Ranch Hand

Joined: Aug 02, 2011
Posts: 95
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: 16065
    
  21

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