NEVERMIND.  I need some sleep... =/

 

There was a different entry method set up on the last two tabs that
prevented it from appearing... different component.

 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Scott
Sent: Saturday, August 15, 2009 5:36 PM
To: [email protected]
Subject: RE: [flexcoders] Bindable object / combobox issue

 

  

Ok, the warning had nothing to do with this issue...  for future
posterity sake and documentation, I found this article that helped me
correct the warning message.
http://www.mail-archive.com/[email protected]/msg48635.html
<http://www.mail-archive.com/[email protected]/msg48635.html> 

 

Anyone know why the RichTextEditor isn't working?

 

Thanks

  Scott

 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Scott
Sent: Saturday, August 15, 2009 5:34 PM
To: [email protected]
Subject: [flexcoders] Bindable object / combobox issue

 

  

I've got an object I pull from CF and point to a combobox.  

 

<script....>

        [Bindable] private var acMessageList:ArrayCollection;

</script>

...

<mx:ComboBox x="10" y="38" dataProvider="{acMessageList}"
labelField="vcMessageDesc" id="selectedMSG" editable="true"
></mx:ComboBox>

 

When I select an item in the combobox the associated text for that item
shows in the text editor changes.  This works just fine.  Now, I also
have a tab navigator that goes out and gets another "class" of objects
(a query) from my DB.

 

private function ChangeTab( nSelected:int ):void

{

this.MsgEditor.GetAllMessagesByType(Application.application.intID,
nSelected );


}

 

This does pull the next set of data over correctly, I can see it in the
debugger.  The combobox re-populates with the data but the text editor
goes blank.

 

<mx:RichTextEditor x="2" y="0" title="EMail Message" width="865"
height="344" text="{selectedMSG.selectedItem.vcMessage}">

</mx:RichTextEditor>

 

The RichTextEditor doesn't show the new data.  Now I'm also getting this
warning in the console:

 

" warning: unable to bind to property 'vcMessage' on class 'Object'
(class is not an IEventDispatcher)"

 

I made the whole object bindable so this warning shouldn't show.
However, I get one or two of these every time I use the combobox.  I'm
not sure this is my problem or not because the first time I load the
data into the combobox it works just fine.

 

Anyone have any idea on what is preventing the richtexteditor from
populating and/or why I'm seeing that warning?

 

 Thanks

  Scott


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 

Reply via email to