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

Galleria FullScreen

In fullscreen mode content covers the whole page over a mask.

Galleria Tag Documentation

Galleria is a content gallery component.

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.
activeIndex int false 0 Index of the first item.
autoPlay boolean false false Enables autoplay for the gallery.
changeItemOnIndicatorHover boolean false false Whether to change item on indicator hover.
circular boolean false false Defines if scrolling would be infinite.
closeIcon String false Close icon on fullscreen mode.
dynamic boolean false false When enabled, only active tab contents are rendered.
fullScreen boolean false false Whether to display the component on fullscreen.
indicatorsPosition String false bottom Position of indicators. Valid values are "bottom", "top", "left" and "right".
numVisible int false 3 Number of items per page.
offset int false 0 Index of the first item to iterate.
prependId boolean false true Whether to prepend the component id to its children.
responsiveOptions List false A list of breakpoint ResponsiveOption for responsive design.
showCaption boolean false false Whether to display caption container.
showIndicators boolean false false Whether to display indicator container.
showIndicatorsOnItem boolean false false When enabled, indicator container is displayed on item container.
showItemNavigators boolean false false Whether to display item navigators..
showItemNavigatorsOnHover boolean false false Whether to display item navigators on hover.
showThumbnailNavigators boolean false true Whether to display thumbnail navigators.
showThumbnails boolean false true Whether to display thumbnail container.
size int false -1 Maximum number of items to iterate, whereas -1 means 'all items'.
step int false 1 Step size for iteration.
style String false Inline style of the component.
styleClass String false Style class of the component.
tabindex String false 0 Specifies the tab order of element in tab navigation.
thumbnailsPosition String false bottom Position of thumbnails. Valid values are "bottom", "top", "left" and "right".
transitionInterval int false 4000 Time in milliseconds between item transitions.
value Object false Value binding expression to a data model.
var String false Name of the request-scoped variable used to reference each data object in the iteration.
varStatus String false Name of the request-scoped variable used to expose the iteration status.
verticalViewPortHeight String false 450px Height of the viewport in vertical layout.
Loading...
Tag DocumentationNew DocumentationNew Documentation JSDoc Basic Programmatic Indicator Thumbnail Navigator Responsive FullScreen AutoPlay Caption Dynamic
With Thumbnails
  • Description for Image 1
  • Description for Image 2
  • Description for Image 3
  • Description for Image 4
  • Description for Image 5
  • Description for Image 6
  • Description for Image 7
  • Description for Image 8
  • Description for Image 9
  • Description for Image 10
  • Description for Image 11
  • Description for Image 12
  • Description for Image 13
  • Description for Image 14
  • Description for Image 15
Description for Image 1
Description for Image 2
Description for Image 3
Description for Image 4
Description for Image 5
Description for Image 6
Description for Image 7
Description for Image 8
Description for Image 9
Description for Image 10
Description for Image 11
Description for Image 12
Description for Image 13
Description for Image 14
Description for Image 15
Without Thumbnails
  • Description for Image 1
  • Description for Image 2
  • Description for Image 3
  • Description for Image 4
  • Description for Image 5
  • Description for Image 6
  • Description for Image 7
  • Description for Image 8
  • Description for Image 9
  • Description for Image 10
  • Description for Image 11
  • Description for Image 12
  • Description for Image 13
  • Description for Image 14
  • Description for Image 15
Custom Content
  • Description for Image 1
  • Description for Image 2
  • Description for Image 3
  • Description for Image 4
  • Description for Image 5
  • Description for Image 6
  • Description for Image 7
  • Description for Image 8
  • Description for Image 9
  • Description for Image 10
  • Description for Image 11
  • Description for Image 12
  • Description for Image 13
  • Description for Image 14
  • Description for Image 15
Description for Image 1
Description for Image 2
Description for Image 3
Description for Image 4
Description for Image 5
Description for Image 6
Description for Image 7
Description for Image 8
Description for Image 9
Description for Image 10
Description for Image 11
Description for Image 12
Description for Image 13
Description for Image 14
Description for Image 15

Usage


<h:form id="myform">
    <p:remoteCommand name="rc" actionListener="#{galleriaView.changeActiveIndex}" update=":myform:custom" oncomplete="PF('galleria3').show()" />
    
    <div class="card">
        <h5>With Thumbnails</h5>
        <p:galleria widgetVar="galleria1" value="#{galleriaView.photos}" var="photo" numVisible="9" responsiveOptions="#{galleriaView.responsiveOptions3}"
                    circular="true" fullScreen="true" showItemNavigators="true" style="max-width: 50%">
            <p:graphicImage name="#{photo.itemImageSrc}" alt="#{photo.alt}" style="width: 100%; display: block" />
            <f:facet name="thumbnail">
                <p:graphicImage name="#{photo.thumbnailImageSrc}" alt="#{photo.alt}" style="display: block" />
            </f:facet>
        </p:galleria>

        <p:commandButton value="Show" icon="pi pi-external-link" onclick="PF('galleria1').show()" />
    </div>

    <div class="card">
        <h5>Without Thumbnails</h5>
        <p:galleria widgetVar="galleria2" value="#{galleriaView.photos}" var="photo" numVisible="7" responsiveOptions="#{galleriaView.responsiveOptions1}"
                    circular="true" fullScreen="true" showItemNavigators="true" showThumbnails="false" style="max-width: 850px">
            <p:graphicImage name="#{photo.itemImageSrc}" alt="#{photo.alt}" style="width: 100%; display: block" />
        </p:galleria>

        <p:commandButton value="Show" icon="pi pi-external-link" onclick="PF('galleria2').show()" />
    </div>

    <div class="card">
        <h5>Custom Content</h5>
        <p:galleria id="custom" widgetVar="galleria3" value="#{galleriaView.photos}" var="photo" activeIndex="#{galleriaView.activeIndex}" numVisible="7" responsiveOptions="#{galleriaView.responsiveOptions1}"
                    circular="true" fullScreen="true" showItemNavigators="true" showThumbnails="false" style="max-width: 850px">
            <p:graphicImage name="#{photo.itemImageSrc}" alt="#{photo.alt}" style="width: 100%; display: block" />
        </p:galleria>

        <div class="grid" style="max-width: 400px">
            <ui:repeat value="#{galleriaView.photos}" var="photo" varStatus="status">
                <div class="col-3">
                    <p:graphicImage name="#{photo.thumbnailImageSrc}" alt="#{photo.alt}" style="cursor: pointer" onclick="rc([{'name': 'index', 'value': #{status.index} }])" />
                </div>
            </ui:repeat>
        </div>
    </div>
</h:form>