[richfaces-issues] [JBoss JIRA] Closed: (RF-1003) The calendar cannot be switched from client in ajax

Viktor Volkov (JIRA) jira-events at lists.jboss.org
Tue Oct 16 08:20:15 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-1003?page=all ]

Viktor Volkov closed RF-1003.
-----------------------------

    Assignee: Viktor Volkov  (was: Aleksej Yanul)

> The calendar cannot be switched from client in ajax
> ---------------------------------------------------
>
>                 Key: RF-1003
>                 URL: http://jira.jboss.com/jira/browse/RF-1003
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>         Environment: https://svn.jboss.org/repos/richfaces/trunk/test-applications/facelets
> jsf 1.1
> tomcat 5.5.17
>            Reporter: Aleksej Yanul
>         Assigned To: Viktor Volkov
>             Fix For: 3.2.0
>
>
> <rich:calendar id="calendarID" 
> ...
> weekDayLabels="#{calendarBean.weekDayLabels}"
> weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
> ...
> mode="#{calendarBean.mode}"
> ...
> />
> <h:outputText value="Mode:" />
> <h:selectOneRadio value="#{calendarBean.scrollMode}" onchange="submit();">
> 	<f:selectItem itemLabel="client" itemValue="client"/>
> 	<f:selectItem itemLabel="ajax" itemValue="ajax"/>
> </h:selectOneRadio>
> ///////////////////////////////////////////////////////////////////
> SEVERE: Error Rendering View[/pages/Rich/Rich.xhtml]
> java.lang.NullPointerException
> 	at org.richfaces.component.UICalendar.getPreloadDateRange(UICalendar.java:388)
> 	at org.richfaces.component.UICalendar.getPreload(UICalendar.java:365)
> 	at org.richfaces.renderkit.CalendarRendererBase.writePreloadBody(CalendarRendererBase.java:162)
> 	at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:282)
> 	at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:427)
> 	at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:252)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
> 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
> 	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
> 	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
> 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list