<ui:componentxmlns="http://www.w3.org/1999/xhtml"xmlns:ui="http://java.sun.com/jsf/facelets"xmlns:f="http://java.sun.com/jsf/core"xmlns:h="http://java.sun.com/jsf/html"xmlns:a4j="http://richfaces.org/a4j"><h:formstyleClass="settingsPanel"><h:panelGridcolumns="2"><h:outputLabelvalue="Allow task moving"for="allowTaskMoving"/><h:selectBooleanCheckboxvalue="#{myBean.allowTaskMoving}"id="allowTaskMoving"/><h:outputLabelvalue="Show weekends"for="showWeekends"/><h:selectBooleanCheckboxvalue="#{myBean.showWeekends}"id="showWeekends"/><h:outputLabelvalue="Allow task resizing"for="allowTaskResizing"/><h:selectBooleanCheckboxvalue="#{myBean.allowTaskResizing}"id="allowTaskResizing"/><h:outputLabelvalue="allDayByDefault"for="allDayByDefault"/><h:selectBooleanCheckboxvalue="#{myBean.allDayByDefault}"id="allDayByDefault"/><h:outputLabelvalue="editable"for="editable"/><h:selectBooleanCheckboxvalue="#{myBean.editable}"id="editable"/><h:outputLabelvalue="selectable"for="selectable"/><h:selectBooleanCheckboxvalue="#{myBean.selectable}"id="selectable"/><h:outputLabelvalue="selectHelper"for="selectHelper"/><h:selectBooleanCheckboxvalue="#{myBean.selectHelper}"id="selectHelper"/><h:outputLabelvalue="unselectAuto"for="unselectAuto"/><h:selectBooleanCheckboxvalue="#{myBean.unselectAuto}"id="unselectAuto"/><h:outputLabelvalue="allDaySlot"for="allDaySlot"/><h:selectBooleanCheckboxvalue="#{myBean.allDaySlot}"id="allDaySlot"/><h:outputLabelvalue="isRTL"for="isRTL"/><h:selectBooleanCheckboxvalue="#{myBean.isRTL}"id="isRTL"/></h:panelGrid><h:panelGridcolumns="2"><h:outputLabelvalue="First day"for="firstDay"/><h:selectOneMenuvalue="#{myBean.firstDay}"id="firstDay"required="true"label="First day"><f:selectItemitemValue="1"itemLabel="Sunday"/><f:selectItemitemValue="2"itemLabel="Monday"/><f:selectItemitemValue="3"itemLabel="Tuesday"/><f:selectItemitemValue="4"itemLabel="Wednesday"/><f:selectItemitemValue="5"itemLabel="Thursday"/><f:selectItemitemValue="6"itemLabel="Friday"/><f:selectItemitemValue="7"itemLabel="Saturday"/></h:selectOneMenu><h:outputLabelvalue="Initial date"for="initialDate"/><h:inputTextvalue="#{myBean.initialDate}"id="initialDate"required="true"label="Initial date"><f:convertDateTimetype="date"pattern="dd/MM/yyyy"/></h:inputText><h:outputLabelvalue="Week mode"for="weekMode"/><h:selectOneRadiovalue="#{myBean.weekMode}"id="weekMode"><f:selectItemitemValue="fixed"itemLabel="fixed"/><f:selectItemitemValue="liquid"itemLabel="liquid"/><f:selectItemitemValue="variable"itemLabel="variable"/></h:selectOneRadio><h:outputLabelvalue="contentHeight"for="contentHeight"/><h:inputTextvalue="#{myBean.contentHeight}"id="contentHeight"/><h:outputLabelvalue="axisFormat"for="axisFormat"/><h:inputTextvalue="#{myBean.axisFormat}"id="axisFormat"/><h:outputLabelvalue="All day text"for="allDayText"/><h:inputTextvalue="#{myBean.allDayText}"id="allDayText"/><h:outputLabelvalue="aspectRatio"for="aspectRatio"/><h:inputTextvalue="#{myBean.aspectRatio}"id="aspectRatio"/></h:panelGrid><h:panelGridcolumns="2"><h:outputLabelvalue="defaultEventMinutes"for="defaultEventMinutes"/><h:inputTextvalue="#{myBean.defaultEventMinutes}"id="defaultEventMinutes"/><h:outputLabelvalue="dragRevertDuration"for="dragRevertDuration"/><h:inputTextvalue="#{myBean.dragRevertDuration}"id="dragRevertDuration"/><h:outputLabelvalue="firstHour"for="firstHour"/><h:inputTextvalue="#{myBean.firstHour}"id="firstHour"/><h:outputLabelvalue="headerCenter"for="headerCenter"/><h:inputTextvalue="#{myBean.headerCenter}"id="headerCenter"/><h:outputLabelvalue="headerLeft"for="headerLeft"/><h:inputTextvalue="#{myBean.headerLeft}"id="headerLeft"/><h:outputLabelvalue="headerRight"for="headerRight"/><h:inputTextvalue="#{myBean.headerRight}"id="headerRight"/><h:outputLabelvalue="minTime"for="minTime"/><h:inputTextvalue="#{myBean.minTime}"id="minTime"/><h:outputLabelvalue="maxTime"for="maxTime"/><h:inputTextvalue="#{myBean.maxTime}"id="maxTime"/><h:outputLabelvalue="slotMinutes"for="slotMinutes"/><h:inputTextvalue="#{myBean.slotMinutes}"id="slotMinutes"/><h:outputLabelvalue="unselectCancel"for="unselectCancel"/><h:inputTextvalue="#{myBean.unselectCancel}"id="unselectCancel"/></h:panelGrid><h:commandButtonvalue="Submit"/><br/><h:outputTextvalue="For option values check"/><br/><h:outputLinkvalue="http://arshaw.com/fullcalendar/docs/">fullcalendar docs</h:outputLink></h:form><a4j:outputPanelajaxRendered="true"><h:outputTextvalue="Selected task is #{myBean.selectedTask.title}"rendered="#{not empty myBean.selectedTask}"/><h:outputTextvalue=" It starts on #{myBean.selectedTask.startDate}"rendered="#{not empty myBean.selectedTask}"/><h:outputTextvalue=" ends on #{myBean.selectedTask.endDate}"rendered="#{not empty myBean.selectedTask}"/><h:outputTextvalue=" and lasts all day"rendered="#{not empty myBean.selectedTask and myBean.selectedTask.allDay}"/><h:outputTextvalue=" and is not 'all day'"rendered="#{not empty myBean.selectedTask and not myBean.selectedTask.allDay}"/></a4j:outputPanel></ui:component>