struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <>
Subject Re: [Struts 2] Dojo datetimepicker - simple
Date Wed, 14 May 2008 14:14:41 GMT
I also get this exception for this:java.text.ParseException: Unparseable date: "fromDate"at
java.text.DateFormat.parse(Unknown Source)
at org.apache.struts2.components.DateTimePicker.format(
at org.apache.struts2.components.DateTimePicker.evaluateParams(
at org.apache.struts2.components.UIBean.end(
at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(

----- Original Message ----
From: Milan Milanovic <>
To: Struts Users Mailing List <>
Sent: Wednesday, May 14, 2008 3:57:19 PM
Subject: [Struts 2] Dojo datetimepicker - simple


I have in my action class Date field with get/set methods, and when I try to show
datetimepicker in my jsp, like this:

<s:datetimepicker name="fromDate" value="fromDate" id="fromDate" displayFormat="dd.MM.yyyy"
label="From date"/>
It show only NaN.NaN.0NaN information in place of datetimepicker, and this debug info:

DEBUG: invalid date string: fromDate
DEBUG: DEPRECATED: dojo.widget.DropdownDatePicker date attributes must be passed in Rfc3339
format -- will be removed in version: 0.5

What is the problem ? I created Date before showing this page: fromDate = new Date();

Thx, Milan Milanovic

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message