Locale

Language
English
English
English
French
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
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Free Themes

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

Saga Saga
Vela Vela
Arya Arya

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

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.


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

        <p:schedule id="schedule" value="#{scheduleJava8View.eventModel}" widgetVar="myschedule"
                    timeZone="#{scheduleJava8View.serverTimeZone}" clientTimeZone="#{scheduleJava8View.serverTimeZone}">
            <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="font-bold"/>
                <p:inputText id="title" value="#{scheduleJava8View.event.title}" required="true"/>

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

                <p:outputLabel for="to" value="To" styleClass="font-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="font-bold"/>
                <h:selectBooleanCheckbox id="allDay" value="#{scheduleJava8View.event.allDay}"/>
            </h:panelGrid>

            <div class="flex justify-content-between mt-3">
                <p:commandButton type="reset" value="Reset" styleClass="font-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>