我遇到了<p:schedule>
组件的问题。它的事件监听器不会被解雇。我试图调试,我看到当我点击一个事件或一天或我正在移动事件时,不会调用组件的解码方法。为什么不调用解码?什么负责召唤它?我该怎么做才能解决这个问题?
更新:我更进了一步:发出了Ajax请求,但它似乎没有被服务器处理。我通过TamperData firefox插件试过这个请求:
Host=localhost:7001 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 AskTbUT2V5/3.8.0.12304 Firefox/3.6.8 Accept=application/xml, text/xml, */* Accept-Language=en-us,en;q=0.5 Accept-Encoding=gzip,deflate Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive=115 Connection=keep-alive Content-Type=application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With=XMLHttpRequest Referer=http://localhost:7001/CalendarConsole/Calendar.jsf Content-Length=377 Cookie=JSESSIONID=hT2KM8YT2dLzCWy2FnnvN2hw9Ln1Q0zpf58wmJyTVQYgLWt9Dkw2!1127089955; ADMINCONSOLESESSION=r5XKM8STYlW2dRv2F1yWRsSXFXbGyTFTnhKT5W8drg45102CXx1D!1127089955 Pragma=no-cache Cache-Control=no-cache POSTDATA=j_id_id2%3Atitle=&j_id_id2%3Afrom=&j_id_id2%3Ato=&j_id_id2%3AallDay=true&autoScroll=&j_id_id2_SUBMIT=1&javax.faces.ViewState=8EgC7hvJoXWgMHaUZxk5rx66APlnNueyP32ajDxbvc%2Fi5akMf2jX5cVdAfmlUISJ504ZgdgVVdSjU3LichhOlEKC8bYGoFkT&primefacesPartialRequest=true&j_id_id2:j_id_id4=j_id_id2:j_id_id4&primefacesPartialProcess=j_id_id2:j_id_id4&j_id_id2:j_id_id4_selectedDate=1283887800000
这是回复
Status=OK - 200 Date=Tue, 31 Aug 2010 10:40:33 GMT Content-Length=374 Content-Type=text/xml X-Powered-By=Servlet/2.5 JSP/2.1
这有任何帮助吗?
答案 0 :(得分:0)
最后,它使用了PrimeFaces 1.1和myfaces 1.2.9!