struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akash agrawal <akash_agra...@yahoo.co.uk>
Subject struts 2.0.11 datetimepicker problem of type time
Date Thu, 13 Dec 2007 00:47:56 GMT
Hi,

I am displaying date and time separately gotten from server on a JSP using datetimepicker
tag.

My problem is that, the date shows up correctly but the time does not.

Below is the snippet of the JSP code.

Any help is appreciated.
Thanks.
-Akash

This with the type="date" shows up correctly.
                   <s:datetimepicker label="Date" 
                   name="programGuideDownloadTimeDate"
                   type="date" 
                   value="%{#sr.programGuide.downloadTime}"
                   dayWidth="wide"/>

This with the type="time" shows up INCORRECTLY.
                   <s:datetimepicker label="Time"
                   name="programGuideDownloadTimeTime" 
                   type="time" 
                   value="%{#sr.programGuide.downloadTime}"
                   dayWidth="wide"/>


       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message