我正在数据表下使用Primefaces Schedule,除日期名称外,所有功能均正常运行。
<p:dataTable var="att" id="tbl3" value="#{seacrhEmployeeBean.empList}" rowIndexVar="row">
<p:column headerText="Select Shifts" style="width: 65%">
<p:panelGrid columns="1">
<p:schedule id="schedule#{row}" value="#{att.employeeShiftDetailBean.eventModel}"
widgetVar="myschedule#{row}"
timeZone="UTC+05:00"
style="background-color: wheat;">
<p:ajax event="dateSelect" update="form"
listener="#{att.employeeShiftDetailBean.onDateSelect}">
</p:ajax>
<p:ajax event="eventSelect" update="form"
listener="#{att.employeeShiftDetailBean.onEventSelect}">
</p:ajax>
</p:schedule>
</p:panelGrid>
</p:column>
</p:dataTable>
[]