Locale

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

PREMIUM TEMPLATES

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

Schedule Basic

Schedule provides an Outlook, iCal like JSF component to manage events which is based on FullCalendar. Schedule is highly customizable featuring various views (month, day, week), built-in I18N, drag-drop, resize, customizable event dialog, ajax listeners for every user interaction and more.

Event Details

<div class="card">
    <h:form>
        <p:growl id="messages" showDetail="true"/>

        <p:schedule id="schedule" value="#{scheduleJava8View.eventModel}" widgetVar="myschedule">
            <p:ajax event="dateSelect" listener="#{scheduleJava8View.onDateSelect}" update="eventDetails"
                    oncomplete="PF('eventDialog').show();"/>
            <p:ajax event="eventSelect" listener="#{scheduleJava8View.onEventSelect}" update="eventDetails"
                    oncomplete="PF('eventDialog').show();"/>
            <p:ajax event="eventMove" listener="#{scheduleJava8View.onEventMove}" update="messages"/>
            <p:ajax event="eventResize" listener="#{scheduleJava8View.onEventResize}" update="messages"/>
        </p:schedule>

        <p:dialog widgetVar="eventDialog" header="Event Details" showEffect="fade" hideEffect="fade">
            <h:panelGrid id="eventDetails" columns="2" cellpadding="7">
                <p:outputLabel for="title" value="Titles" styleClass="p-text-bold"/>
                <p:inputText id="title" value="#{scheduleJava8View.event.title}" required="true"/>

                <p:outputLabel for="from" value="From" styleClass="p-text-bold"/>
                <p:datePicker id="from" value="#{scheduleJava8View.event.startDate}" pattern="dd/MM/yyyy"
                              showTime="true" appendTo="@(body)"/>

                <p:outputLabel for="to" value="To" styleClass="p-text-bold"/>
                <p:datePicker id="to" value="#{scheduleJava8View.event.endDate}" pattern="dd/MM/yyyy"
                              showTime="true" appendTo="@(body)"/>

                <p:outputLabel for="allDay" value="All Day" styleClass="p-text-bold"/>
                <h:selectBooleanCheckbox id="allDay" value="#{scheduleJava8View.event.allDay}"/>
            </h:panelGrid>

            <div class="p-d-flex p-jc-between p-mt-3">
                <p:commandButton type="reset" value="Reset" styleClass="p-text-bold ui-button-outlined"/>
                <p:commandButton id="addButton" value="Save" action="#{scheduleJava8View.addEvent}" 
                            oncomplete="PF('myschedule').update();PF('eventDialog').hide();"/>
            </div>               
        </p:dialog>
    </h:form>
</div>