> -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
> 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
>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.
> 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]
--
> -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
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
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
7 matches
Mail list logo