RE: Date format woes

2004-09-08 Thread Jim Barrows
> -Original Message- > From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 1:23 PM > To: 'Struts Users Mailing List' > Subject: RE: Date format woes > > > > From a pure JavaBean perspective, a cl

RE: Date format woes

2004-09-08 Thread Slattery, Tim - BLS
> From a pure JavaBean perspective, a class like: > > package com.dotech; > > import java.io.Serializable; > import java.util.Date; > > public class ConfusedBean implements Serializable { > public void setDate(String s) {} > public Date getDate() { return null; } > } > > is seen by Intr

RE: Date format woes

2004-09-08 Thread Kris Schneider
>From a pure JavaBean perspective, a class like: package com.dotech; import java.io.Serializable; import java.util.Date; public class ConfusedBean implements Serializable { public void setDate(String s) {} public Date getDate() { return null; } } is seen by Introspector as (Sun JDK 1.4.

RE: Date format woes

2004-09-08 Thread Slattery, Tim - BLS
> You wouldn't happen to have another setter method that > accepts a different type (e.g. Date) would you? > > for example: > > ... > ... > > public void setExpirationDate(Date expirationDate){ > > ... > ... No, only what I posted. -- Tim Slattery [EMAIL PROTECTED] --

RE: Date format woes

2004-09-08 Thread Jim Barrows
> -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 12:46 PM > To: Struts Users Mailing List > Subject: Re: Date format woes > > > You wouldn't happen to have another setter method that > accep

Re: Date format woes

2004-09-08 Thread James Mitchell
tchtx - Original Message - From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 08, 2004 3:39 PM Subject: Date format woes > I've got a page in my Struts web app that displays a date. It uses > to read a dat

Date format woes

2004-09-08 Thread Slattery, Tim - BLS
I've got a page in my Struts web app that displays a date. It uses to read a date from the form bean and format it for display. I also want to put that date into a field so that it can be reloaded when the page is submitted and redisplayed. The getter returns a Date. The tag retrieves also retr