Re: Struts 2 + dates

2010-06-08 Thread lucas owen
thanks to all what a cracks u r 2010/6/8 sandeep kotha > I agree with ken simple best thing to do > > <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> > > . > > On 8 June 2010 23:09, lucas owen wrote: > > > Hi Struts users! > > > > > > I need to present a java.util.Date in a jsp. It has t

Re: Struts 2 + dates

2010-06-08 Thread sandeep kotha
I agree with ken simple best thing to do <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> . On 8 June 2010 23:09, 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 prob

Re: Struts 2 + dates

2010-06-08 Thread Daniel S. Teixeira
Suggestion better than mine! :) Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 3:50 PM, Ken wrote: > 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 functio

Re: Struts 2 + dates

2010-06-08 Thread Ken
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 js

Re: Struts 2 + dates

2010-06-08 Thread Daniel S. Teixeira
Hi Lucas, You can use some component based on jQuery to format your date and edit as well. See here: http://digitalbush.com/projects/masked-input-plugin/ I use this component on my project. Piece of cake! Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 2:39 PM, lucas owe

Struts 2 + dates

2010-06-08 Thread lucas owen
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 , it shows the date with a wrong format. I can use but in this case the date wouldnt be editable... any ideas???