Nel Taurisson | 13 May 17:55

date in list problem

Hi,

I have a problem when nesting a date widget within a list widget.

As long as the field is empty, all is correct. I can enter a date, it gets save ok. I can see it in view mode, but when I try to switch in edit mode then I get the following error :

17:36:36,179 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: Cannot format given Object as a Date
        at java.text.DateFormat.format(DateFormat.java:281)
        at java.text.Format.format(Format.java:140)
        at javax.faces.convert.DateTimeConverter.getAsString(DateTimeConverter.java:448)
        at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getFormattedValue(HtmlBasicRenderer.java:469)
        at org.nuxeo.ecm.platform.ui.web.component.date.InputDateTimeRenderer.encodeBegin(InputDateTimeRenderer.java:79)
        at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)
        ...


If someone any cues...

Thanks

Nel

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm

Gmane