http://struts.apache.org/2.1.8.1/docs/tag-reference.html
See: The datetimepicker tag... you can specify the date format very
easily and it provides nice edit functionality.  

On Tue, 2010-06-08 at 19:39 +0200, lucas owen wrote:

> Hi Struts users!
> 
> 
> I need to present a java.util.Date in a jsp. It has to be within a
> s:textfield because the user can modify/edit this date.
> 
> The problem is when I display the date  <s:textfield name="myDate"/>, it
> shows the date with a wrong format.
> 
> I can use <fmt:formatDate value="${myDate}" pattern="dd/MM/yyyy" /> but in
> this case the date wouldnt be editable...
> 
> 
> any ideas???
> 
> Thanks in advance!



Reply via email to