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
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
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
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeOne
Saga Saga
Vela Vela
Arya Arya
Bootstrap
bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple
Material Design
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple
Material Design Compact
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple

Ajax Framework Partial Submit

PartialSubmit reduces network traffic by only adding the partially processed components to the ajax request post. For big pages with many input components, partialSubmit is extremely useful as it leads to more lightweight requests. Compare the Post Data displayed by the logger for the difference.

    Partial Submit Target
    Other Form Content
    
    <style>
        .ui-log {
            left: auto;
            right: 20px;
            top: 300px;
        }
    
        .other-content input {
            margin-right: .5rem;
            margin-bottom: .5rem;
        }
    </style>
    
    <div class="card">
        <h:form id="form">
            <p:log />
    
            <h5>Partial Submit Target</h5>
            <h:panelGrid columns="4" cellpadding="7">
                <h:outputLabel for="name" value="Name"/>
                <p:inputText id="name" />
                <p:commandButton value="Full Submit" partialSubmit="false" process="name"/>
                <p:commandButton value="Partial Submit" partialSubmit="true" process="name" styleClass="ui-button-success" />
            </h:panelGrid>
    
            <h5>Other Form Content</h5>
            <div class="flex flex-wrap other-content">
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
                <p:inputText/>
            </div>
            
        </h:form>
    </div>