Ben
Ben

Reputation: 10288

How to create changing content in JSF 2.0 Panel

I'm trying to create something that would have the looks of a tabbed interface in JSF 2.0.

I can use myfaces and richfaces (either, neither or both) to do this.

I've done something similar in jsf 1.2 with backing bean code that actually removed the panel contents and replaced it with the current selection but I think there has to be a better way to do it.

The general looks should be something like this: alt text

The Question - What's the best method of changing the central panel's contents according to the panel button that was pushed.

Thanks!

Upvotes: 0

Views: 885

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240928

rich:panelMenu will work for you

Upvotes: 1

Related Questions