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

Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

Bootstrap light blue and dark blue themes are also included in PrimeFaces 10.x builds for Elite subscribers.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent


Create awesome applications in no time using the premium templates and impress your users.

Schedule Extender

The schedule component provides many options already, but it does not offer the full suite of options supported by the underlying FullCalendar library. This is an advanced option that lets you configure the schedule to your your needs. Use the extender option and provide a custom JavaScript function. That function is called before the schedule is initialized. Within that function, you can use the this keyword to access the current schedule widget and modify the this.cfg options passed to FullCalendar. See the FullCalendar documentation for more details and all available options.

Extender settings

<div class="card">
        <p:growl id="messages" widgetVar="messagesGrowl" showDetail="true"

        <p:panel id="settings" header="Extender settings" styleClass="p-mb-6">

            <!-- Additional CSS or JavaScript required by the extender example -->
            <h:outputText escape="false"
                          value="#{not empty scheduleJava8View.extenderExample ? scheduleJava8View.extenderExample.html : ''}">

            <p:panelGrid columns="2" layout="flex" styleClass="ui-noborder"
                         columnClasses="p-col-12 p-xl-12, p-col-12 p-xl-12">

                <p:selectOneMenu id="examples" label="Examples"
                                 style="width: 100%;"
                    <f:selectItem noSelectionOption="true"
                                  itemLabel="Select an example..." itemValue=""/>
                    <f:selectItems value="#{scheduleJava8View.extenderExamples}"/>
                    <f:selectItem itemLabel="Custom extender code" itemValue="custom"/>
                    <p:ajax event="change" update="@form" process="@this"

                <p:message id="examplesMessage" escape="false" severity="info"
                           showSummary="true" for="examples"
                           rendered="#{not empty scheduleJava8View.extenderExample}"/>

                <h:outputLink value="#{scheduleJava8View.extenderExample.link}"
                              target="_blank" rel="nofollow noopener"
                              rendered="#{not empty scheduleJava8View.extenderExample and not empty scheduleJava8View.extenderExample.link}">
                            value="See FullCalendar docs for more details on this option."/>

                <p:inputTextarea id="extenderCustomCode" rows="6"
                                 style="width: 100%;" autoResize="true"
                                 rendered="#{scheduleJava8View.selectedExtenderExample eq 'custom'}"/>

                        rendered="#{not empty scheduleJava8View.extenderExample}">
                    <pre id="extenderCode" name="extenderCode"
                    <script type="text/javascript">SyntaxHighlighter.highlight(document.getElementById('extenderCode'))</script>

                        rendered="#{not empty scheduleJava8View.extenderExample and not empty scheduleJava8View.extenderExample.html}">
                            value="Additional CSS or JavaScript required for this example"/>
                    <pre id="extenderHtml" name="html"
                    <script type="text/javascript">SyntaxHighlighter.highlight(document.getElementById('extenderHtml'))</script>

                <p:commandButton id="update" styleClass="extender-update"
                                 value="Apply extender and update schedule" process="@form"
                                 update="@form:schedulePanel" icon="pi pi-refresh"/>

        <p:outputPanel id="schedulePanel">

            <!-- Load the extender and catch errors -->
            <script type="text/javascript">
                window.ExtenderShowcase = undefined;
            <script type="text/javascript">
                window.ExtenderShowcase = function () {
                    try {
                        #{ scheduleJava8View.extenderCode }
                    } catch (e) {
                        console.error("Error while running extender", e);
                            severity: "error",
                            summary: "Invalid extender",
                            detail: "The extender you entered threw an error - you might want to check your browser's dev tools. The error was: " + e.message
            <script type="text/javascript">
                if (typeof window.ExtenderShowcase === "undefined") {
                        severity: "error",
                        summary: "Invalid extender",
                        detail: "The extender you entered seems to be syntactically invalid - you might want to check your browser's dev tools."

            <!-- Remote command for deleting events, for the 'delete button' example -->
            <p:remoteCommand id="deleteEvent" name="deleteEvent"
                             actionListener="#{scheduleJava8View.onEventDelete}" process="@this"
                             update="@none" oncomplete="PF('schedule').update()">

            <!-- The actual schedule component -->
            <p:schedule id="schedule" value="#{scheduleJava8View.eventModel}"
                        widgetVar="schedule" extender="window.ExtenderShowcase"/>

Session expired

Reloading page