Chapter 6. Endless Menu Variations

In this chapter, we will cover the following topics:

  • Statically and dynamically positioned menus
  • Creating programmatic menus
  • The context menu with nested items
  • Integrating the context menu
  • Breadcrumb – providing contextual information about page hierarchy
  • SlideMenu – menu in the iPod style
  • TieredMenu – submenus in nested overlays
  • MegaMenu – the multicolumn menu
  • PanelMenu – hybrid of accordion and tree
  • MenuButton – multiple items in a popup
  • Accessing commands via menubar
  • Displaying checkboxes in selectCheckboxMenu

Introduction

In this chapter, we will learn about menu components. These days, every website contains menus. Usually, a menu is presented to a user as a list of links to be navigated or commands to be executed. Menus are sometimes organized hierarchically, allowing navigation through different levels of the menu structure. Arranging menu items in logical groups makes it easy for users to quickly locate the related tasks. PrimeFaces' menus fulfill all major requirements. They come with various facets, such as static, dynamic, tiered, iPod-styled, and so on, and leave nothing to be desired.

Several menu variations are covered in the recipes of this chapter. We will see a lot of recipes that will discuss menu structure, configuration options, customizations, and integration with other components. At the end of this chapter, we should know what kind of menu to choose and how to put it on a page for various use cases.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.72.176