0
我無法在primefaces中心佈局上呈現完整的日曆調度程序。我在的index.xhtml在primefaces佈局上呈現完整日曆調度程序
<h:outputStylesheet library="css" name="fullcalendar.min.css"/>
<h:outputStylesheet library="css" name="scheduler.min.css"/>
<h:outputScript library="js" name="jquery.min.js" target="head"/>
<h:outputScript library="js" name="moment.min.js" target="head"/>
<h:outputScript library="js" name="full.min.js" target="head"/>
<h:outputScript library="js" name="scheduler.min.js" target="head"/>
<h:outputScript library="js" name="myScheduler.js" target="head"/>
包括以下.js文件在 「myScheduler.js」 我有:
$(document).ready(function() { // document ready
jQuery('#calendar').full({
schedulerLicenseKey: 'GPL-My-Project-Is-Open-Source',
,我在指數的機身採用下primefaces中心佈局fullcalender調度<div>
。 XHTML象下面這樣:
<p:layoutUnit position="center">
<h:panelGroup layout="block">
<div id='calendar'/>
</h:panelGroup>
</p:layoutUnit>
fullcalendar的配置代碼在哪裏?請提供更多代碼。 –
@ChintanMirani我編輯了我的文章。對不起。 –
使用PrimeFaces時不應該加入jquery – Kukeltje