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

Barcode

QR code (quick-response code) is a type of two-dimensional matrix barcode and can be generated using the Okapi library.


            <dependency>
               <groupId>uk.org.okapibarcode</groupId>
               <artifactId>okapibarcode</artifactId>
               <version>0.5.1</version>
            </dependency>
            

Barcode Tag Documentation

Barcode component is used to display various barcode formats QR Code, Code 128, Code 39, EAN-13, UPC-A, ITF-14, and DataMatrix.

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.
alt String false
cache boolean false true Controls browser caching mode of the resources.
dir String false Direction indication for text that does not inherit directionality.
format String false svg Format of the generated barcode, valid values are "svg" and "png".
height String false Specifies the height of an element.
hrp String false bottom The barcode human readable placement of text either "none", "top", or "bottom".
ismap boolean false false
lang String false
longdesc String false
magnification double false 2.0 The magnification factor of the barcode.
onclick String false Fires when a mouse click on the element.
ondblclick String false Fires when a mouse double-click on the element.
onkeydown String false Fires when a user is pressing a key.
onkeypress String false Fires when a user presses a key.
onkeyup String false Fires when a user releases a key.
onmousedown String false Fires when a mouse button is pressed down on an element.
onmousemove String false Fires when the mouse pointer is moving while it is over an element.
onmouseout String false Fires when the mouse pointer moves out of an element.
onmouseover String false Fires when the mouse pointer moves onto an element.
onmouseup String false Fires when a mouse button is released over an element.
orientation int false 0 Orientation in terms of angle. (0, 90, 180, 270)
qrErrorCorrection String false L The QR Code error correction level. L - up to 7% damage. M - up to 15% damage. Q - up to 25% damage. H - up to 30% damage
quietZoneHorizontal int false 10 The horizontal quiet zone of the barcode in pixels.
quietZoneVertical int false 1 The vertical quiet zone of the barcode in pixels.
role String false
style String false Specifies an inline CSS style for an element.
styleClass String false Specifies one or more CSS class names for an element.
title String false Specifies extra information about an element (displayed as a tooltip).
type String false Type of the barcode.
usemap String false
value Object false Value of the component.
width String false Specifies the width of an element.
Loading...
Tag DocumentationNew DocumentationNew Documentation
QR

Usage


<div class="card">
    <h:panelGrid columns="2" cellpadding="7">
        <h:outputText value="QR"/>
        <p:barcode value="0123456789" type="qr" magnification="5.0"/>
    </h:panelGrid>
</div>