Hello,
  
I am also facing similar problem. I have given date time picker. I am able
to log the value from action class. but cannot get the value to the jsp
page. 
 i did it like 
<div class="item" align="left"  >Auction Start Date<s:datetimepicker
theme="ajax" adjustWeeks="true" displayFormat="MM/dd/yyyy"
toggleType="explode" id="startDate" name="startDate" 
value="getStartDate()"/></div>

i have tried a lot but am getting the error like 
Could not parse date
java.text.ParseException: Unparseable date: "getStartDate()"

can some one help me out



Milan Milanovic wrote:
> 
> Hi, 
> 
> 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
> 
> 
>       
> 

-- 
View this message in context: 
http://www.nabble.com/-Struts-2--Dojo-datetimepicker---simple-tp17231717p20416885.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to