2 Replies Latest reply on Apr 23, 2008 6:46 AM by bitwyse

    Using an ArrayCollection as my text for a TextArea

    bitwyse Level 1
      I have a text area that receives an ArrayCollection as it's text something like this:

      <mx:TextArea borderSides="0" horizontalScrollPolicy="off" editable="false" text="{getArrayOfCommonNames( _deliverableDetail.SFPRespTeamEdit.getmyStringArray() )}" wordWrap="true"/>

      when it get's displayed I see a list of names separated by a comma. Is there a flag or a simple way of putting each item on a new line? I added a \n to the text in my getArrayOfCommonNames function which put them on a new line but I still had the commas.

      Any thoughts?