O'Reilly logo

PrimeFaces Beginner's Guide by K. Siva Prasad Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating tab-based menus using TabMenu

TabMenu is a navigation component that displays menuitems as tabs. TabMenu takes a list of menuitems and displays each as a tab. Similar to other menu components, we can do GET requests to MenuItem using the url or outcome attributes and can send POST requests using the action or actionListener attributes.

In the TechBuzz application, we will be using the TabMenu component to display a top-level navigation bar to display the Home, Post Buzz, Search, and My Account screens as tabs.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required