htmlSchedule.jspx 1.75 KB
<?xml version="1.0" encoding="UTF-8"?>
<f:root
        xmlns:f="http://jsf.exadel.com/template"
        xmlns:vcp=" http://jsf.exadel.com/vcp"
        xmlns:ui=" http://jsf.exadel.com/ui"
        xmlns:x=" http://jsf.exadel.com/vcp"
        xmlns:u="http://jsf.exadel.com/util"
        xmlns:h="http://jsf.exadel.com/header"
        xmlns:jsp="http://java.sun.com/JSP/Page"
        xmlns:c="http://java.sun.com/jstl/core"
        class="org.richfaces.renderkit.html.ScheduleRenderer"
        baseclass="org.richfaces.renderkit.ScheduleRendererBase"
        component="org.richfaces.component.UISchedule">
    <f:clientid var="clientId"/>
    <h:styles>/org/richfaces/renderkit/html/css/fullcalendar.css</h:styles>
    <h:scripts>org.ajax4jsf.javascript.AjaxScript,
        /org/ajax4jsf/javascript/scripts/form.js,
        /org/richfaces/renderkit/html/scripts/form.js,
        /org/richfaces/renderkit/html/scripts/jquery/jquery.js,
        /org/richfaces/renderkit/html/scripts/ui.core.js,
        /org/richfaces/renderkit/html/scripts/ui.draggable.js,
        /org/richfaces/renderkit/html/scripts/ui.resizable.js,
        /org/richfaces/renderkit/html/scripts/fullcalendar.js,
        /org/richfaces/renderkit/html/scripts/richfaces.schedule.js,
        org.richfaces.renderkit.html.scripts.ScheduleMessages
    </h:scripts>
    <jsp:scriptlet>
        <![CDATA[org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(context, component);]]>
    </jsp:scriptlet>
    <div id="#{clientId}" class="rich-schedule #{component.attributes['styleClass']}"
         x:passThruWithExclusions="value,name,type,id"></div>
    <input type="hidden" name="#{clientId}" id="#{clientId}"/>
    <script type="text/javascript">
        <f:call name = "writeInitFunction"/>
    </script>
</f:root>