--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> parseDateString is a protected static method on the DateFormatter
it
> appears. Which means you would need to write a subclass of
> DateFormatter and then you could call the static method from
within it
> (via DateFormatter.parseDateString).
>
> Matt
>
> -----Original Message-----
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of mvbaffa
> Sent: Saturday, April 15, 2006 3:00 PM
> To: [email protected]
> Subject: [flexcoders] parseDateString and parseNumberString
>
> Hi everybody,
>
> I am using Flex 2 Beta 2.
>
> I have a date formatter and a currency formatter they work fine
when
> I use the format method. When the form is submitted I have parse
> these values to save a date and a number.
>
> I am trying to use parseDateString and parseNumberString. I tried:
> - DateFormatter.parseDateString(dateField);
>
> and Flex gives me the error:
> "Attempted access of inaccessible method 'parseDateString' through
> a reference with static type 'Class'"
>
> Then I tried with the instance of the formatter and Flex gives the
> error:
> "Call to a possibly undefined method 'parseDateString' through a
> reference with static type 'mx.formatters:DateFormatter'"
>
> I need special formatting and I need to parse the values back. Can
> anybody help me !!!!!
>
> Thanks in advance
>
>
>
>
>
>
>
> --
> 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
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

