|
Here’s an example with an
HttpService, you can do something similar: Add: result="manageData(event)" …to your mx:HttpService tag… Define the handler something like this,
where it will look through the returned data structure and replace the
StartDate objects with a “parsed” version…in my example, my
structure is a multi-row XML document. One of the elements is named “DateTime”
and is in the same format you are trying to parse. If you only have a single
row, the handler might look slightly different. function manageData(event) { for(var i:Number=0; i< event.result.Row.length;
i++) { var d:Date = parseDateString(event.result.Row[i].DateTime); event.result.Rowsets.Rowset.Row[i].DateTime
= d; } } - Rick From: Might you have some
information on where to put this exactly? It seems like it's too late by
the time the object has been created from the result of the web service
call. All it seems to contain is "Invalid Date". When I
look at the object that was created in the Network Monitor, it does seem to
have a date, but not the one I sent it. On 6/25/05, Manish
Jethani <[EMAIL PROTECTED]>
wrote: On 6/25/05,
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com ---- LSpots keywords ?> ---- HM ADS ?> YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Flex, C# Web Services, and Dates Rick Bullotta
- Re: [flexcoders] Flex, C# Web Services, and Dates Matthew Shirey
- RE: [flexcoders] Flex, C# Web Services, and Dates Rick Bullotta
- Re: [flexcoders] Flex, C# Web Services, and Dates Matthew Shirey
- Re: [flexcoders] Flex, C# Web Services, and Da... Matthew Shirey
- RE: [flexcoders] Flex, C# Web Services, and Dates Rick Bullotta
- RE: [flexcoders] Flex, C# Web Services, and Dates Matt Chotin
- Re: [flexcoders] Flex, C# Web Services, and Dates Matthew Shirey
- RE: [flexcoders] Flex, C# Web Services, and Dates Matt Chotin

