calendar: no converter for java.util.Date attached by default
-------------------------------------------------------------
Key: RF-9595
URL:
https://jira.jboss.org/browse/RF-9595
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Reporter: Ilya Shaikovsky
Assignee: Anton Belevich
Priority: Critical
Fix For: 4.0.0.Milestone4
<rich:calendar value="#{calendarBean.selectedDate}"
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
showApplyButton="#{calendarBean.showApply}"
cellWidth="24px" cellHeight="22px" style="width:200px"/>
..
private Date selectedDate;
...
Caused by: javax.faces.convert.ConverterException: No Converter for type java.util.Date
found
at
org.richfaces.component.util.SelectUtils.getConverterForProperty(SelectUtils.java:300)
at
org.richfaces.renderkit.CalendarRendererBase.getInputValue(CalendarRendererBase.java:266)
at org.richfaces.renderkit.html.CalendarRenderer.encodeEnd(CalendarRenderer.java:217)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620)
at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:280)
at
org.richfaces.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:84)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
... 14 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira