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
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){ ... ... -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx