0 Replies Latest reply on May 19, 2009 11:16 PM by GordonSmith

    [svn:fx-trunk] 7113: Added [RichTextContent] metadata to the 'content' property of RichText, RichEditableText, and TextArea.

    GordonSmith Level 4

      Revision: 7113

      Author:   gosmith@adobe.com

      Date:     2009-05-19 22:16:39 -0700 (Tue, 19 May 2009)

       

      Log Message:

      ***********

      Added metadata to the 'content' property of RichText, RichEditableText, and TextArea.

       

      This metadata tells the MXML compiler to disable some of its default interpreation of the value specified for the 'content' property. Normally, for properties of type Object, it assumes that things looking like numbers are numbers and things looking like arrays are arrays. But hould set it to the String "[1]", not the Array . However, {...} continues to be interpreted as a databinding expression, and @Resource(...), @Embed(...), etc. as compiler directives.

       

      Similar metadata on the mxmlChildren property in TLF's FlowGroupElement and SpanElement classes causes the same rules to apply within

      ,

      , etc.

       

      QE Notes: None

      Doc Notes: None

      Bugs: Part of SDK-17748 and SDK-18877

      Reviewer: Peter

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-17748

          http://bugs.adobe.com/jira/browse/SDK-18877

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as