holy obviousness batman!  That was it!  Can I blame Eclipse?  I mashed
organise imports or wahtever its called and it chose java.sql.Date
instead.  I completely missed it.

/me crawls back into the corner, head hung low.

DK

On 11/3/05, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
> Sorry if asking the obvious - are you using java.util.Date or java.sql.Date?
>
> ----- Original Message -----
> From: "Dave Wolf" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, November 03, 2005 6:00 PM
> Subject: [flexcoders] Re: dates, AS, and Java
>
>
> > That sounds like a bug in the serializers to me.  Its getting
> > marshalled as a string.
> >
> > Now in a WebService you should use a Calendar rather then a Date.
> > Have you tried that to see if it works better?  It definately works
> > with a WebService.
> >
> > <biting my lip to not make a WebService vs AMF debate again>
> >
> > --
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email:  [EMAIL PROTECTED]
> > Office: 866-CYNERGY x85
> >
> > --- In [email protected], Douglas Knudsen
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> ok, say I have a Java VO called FooVO and a AS VO called FooVO.  Both
> >> have a property called myDate of Date datatype.  The Java version has
> >> a getter and setter for it.  I have the AS Vo registered to map to the
> >> Java one.  It seems the Java setter can't set the date from the value
> >> in the AS VO.
> >>
> >> Could not set object Sat Nov 05 16:56:02 EST 2005 on class
> >> com.joe.world.FooVO's method setWeekEndDate
> >>
> >> Do I Date datatypes map across the wire correctly from AS to Java?
> >>
> >> --
> >> Douglas Knudsen
> >> http://www.cubicleman.com
> >> this is my signature, like it?
> >>
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to