Re: java.util.Dates and Struts

2002-12-23 Thread Rick Reumann
On Mon, 23 Dec 2002 11:49:04 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: This is my test: ... String input = null; // check to make sure the datatype is right input = 2002-03-17; Date dateValue = (Date)ConvertUtils.convert(input, Date.class);

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
is not formatted. jk -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:07 PM Cc: [EMAIL PROTECTED] Subject: Re: java.util.Dates and Struts On Mon, 23 Dec 2002 11:49:04 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: This is my test

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
PROTECTED]] Sent: Monday, December 23, 2002 12:24 PM To: Struts Users Mailing List Subject: RE: java.util.Dates and Struts Hi Rick- I should have deleted the first block of code. It's not exactly misleading, but it unfocuses my point. I apologise for that. I'm spread a little thin so

Re: java.util.Dates and Struts

2002-12-23 Thread Rick Reumann
On Mon, 23 Dec 2002 12:32:13 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: It seems like the only way things work out properly in the rendering phase is to have a ValueObject that contains the Date properties and an ActionForm that has a String for each Date on the ValueObject. This is what I

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
: java.util.Dates and Struts On Mon, 23 Dec 2002 12:32:13 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: It seems like the only way things work out properly in the rendering phase is to have a ValueObject that contains the Date properties and an ActionForm that has a String for each Date

Re: java.util.Dates and Struts

2002-12-23 Thread Rick Reumann
On Mon, 23 Dec 2002 13:33:59 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: As regards the tags, I would like to render an html input type=text. As far as I know, you can't nest tags so... html:text name=myForm property=myDate value=fmt:formatDate pattern=MM/dd/yy

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
Dates for input type=text boxes) please feel free to chime in. thanks, jk -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 4:54 PM To: Struts Users Mailing List Subject: Re: java.util.Dates and Struts On Mon, 23 Dec 2002 13:33:59 -0500