Locale

Change the locale of the datepicker, schedule and client side validation messages.

Language
English
English
English
French
German
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Bangla
Bosnian
Czech
Greek
Estonian
Persian
Finnish
Danish
Hindi
Indonesian
Icelandic
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Serbian
Swedish
Thai
Turkish
Ukrainian
Uzbek
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeUIX
Aura Light Emerald Aura Light Emerald
Aura Dark Emerald Aura Dark Emerald
PrimeOne
Saga Blue Saga Blue
Vela Blue Vela Blue
Arya Blue Arya Blue
Bootstrap
Bootstrap Blue Light Bootstrap Blue Light
Bootstrap Purple Light Bootstrap Purple Light
Bootstrap Blue Dark Bootstrap Blue Dark
Bootstrap Purple Dark Bootstrap Purple Dark
Material Design
Material Indigo Light Material Indigo Light
Material Deep Purple Light Material Deep Purple Light
Material Indigo Dark Material Indigo Dark
Material Deep Purple Dark Material Deep Purple Dark
Material Design Compact
Material Compact Indigo Light Material Compact Indigo Light
Material Compact Deep Purple Light Material Compact Deep Purple Light
Material Compact Indigo Dark Material Compact Indigo Dark
Material Compact Deep Purple Dark Material Compact Deep Purple Dark
Legacy
Nova Light Nova Light
Nova Dark Nova Dark
Nova Colored Nova Colored
Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink

Dock

Dock is a navigation component consisting of menuitems.

Menu Tag Documentation

Menu is a navigation component with submenus and menuitems.

NameTypeRequiredDefaultDescription
id String false generated Unique identifier of the component in a namingContainer.
rendered boolean false true Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding UIComponent false generated An EL expression referring to a server side UIComponent instance in a backing bean.
widgetVar String false generated ('widget_' + componentClientId) Name of the client side widget.
appendTo String false @(body) Search expression for the element to which the menu overlay is appended.
at String false left bottom Corner of trigger to align with menu element.
autoDisplay boolean false true Defines whether the first level of submenus will be displayed on mouseover or click event.
collision String false flip Applied only when overlay is set to true. When the overlay menu overflows the window in some direction, move it to an alternative position. Supported values are flip, fit, flipfit and none. See https://api.jqueryui.com/position/ for more details. When the the body of your layout does not scroll, you may also want to set the option maxHeight.
dir String false ltr Defines text direction, valid values are ltr and rtl.
hideDelay int false 0 Delay in milliseconds before hiding the submenu, if 0 not hidden until document.click().
maxHeight String false The maximum height of the menu. May be either a number (such as 200), which is interpreted as a height in pixels. Alternatively, may also be a CSS length such as 90vh or 10em. Often used when overlay is set to true, but also works when it is set to false. Useful in case the body of your layout does not scroll, especially in combination with the collision property.
model MenuModel false A menu model instance to create menu programmatically.
my String false left top Corner of menu to align with trigger element.
overlay boolean false false Defines positioning type of menu, either static or overlay.
showDelay int false 0 Delay in milliseconds before displaying the submenu. Default is 0 meaning immediate.
statefulGlobal boolean false false When enabled, menu toggleable state is saved globally across pages. If disabled then state is stored per view/page.
style String false Inline style of the component.
styleClass String false Style class of the component.
tabindex String false 0 Position of the element in the tabbing order.
toggleEvent String false Event to toggle the submenus, valid values are "hover" and "click".
toggleable boolean false false Defines whether clicking the header of a submenu toggles the visibility of children menuitems.
trigger String false Target component to attach the overlay menu.
triggerEvent String false click Event to show the dynamic positioned menu.
Loading...
Tag DocumentationNew DocumentationNew Documentation JSDoc

Usage


<h:form>
    <p:dock position="bottom">
        <p:menuitem value="Home" icon="/resources/demo/images/dock/home.png"/>
        <p:menuitem value="Music" icon="/resources/demo/images/dock/music.png"/>
        <p:menuitem value="Video" icon="/resources/demo/images/dock/video.png"/>
        <p:menuitem value="Email" icon="/resources/demo/images/dock/email.png"/>
        <p:menuitem value="Portfolio" icon="/resources/demo/images/dock/portfolio.png"/>
        <p:menuitem value="Link" icon="/resources/demo/images/dock/link.png"/>
        <p:menuitem value="RSS" icon="/resources/demo/images/dock/rss.png"/>
        <p:menuitem value="History" icon="/resources/demo/images/dock/history.png"/>
    </p:dock>
</h:form>