Thanks Gordon: Ideally, the TextArea would display the rendered HTML
but all I can get from these particular elements is [object Object].

I'm very new to Flex but I've been a developer for about 14 years.

Sorry for the double post (if that's whats happened with this).  I
tried sending this yesterday, it indicated that it posted but I still
don't see it.

-w


--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> > It works great unless the content element contains HTML
>  
> You don't say what you want the TextArea to actually display in this
> case.
>  
> The HTML code that you show?
> Just "This is a link click here" as plain text?
> "This is a link click here" with "click here" being a working hyperlink?
>  
> Gordon Smith
> Adobe Flex SDK Team
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of willfould
> Sent: Monday, December 03, 2007 5:28 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Atom feeds
> 
> 
> 
> I have a simple Atom feed reader application using the grid control. 
> 
> When you click and item on the grid, a text area is populated with the
> contents of one of the feed elements ("content")
> 
> It works great unless the content element contains HTML:
> 
> A sample content Atom element with HTML looks like this:
> 
> <content type="xhtml">This is a link <a
> href="http://www.example.com <http://www.example.com> ">click
> here</a></content>
> 
> This results in [object Object] appearing in the TextArea.
> 
> Any ideas for what's wrong?
> 
> Here is relevent application code code:
> 
> <mx:DataGrid id="titleList"
> dataProvider="{atomUrl.lastResult.feed.entry}" width="100%"
> height="100%">
> <mx:columns>
> <mx:DataGridColumn dataField="title" headerText="Title" />
> <mx:DataGridColumn dataField="id" headerText="ID" />
> </mx:columns>
> </mx:DataGrid>
> 
> <mx:TextArea id="content" width="100%" height="100%"
> htmlText="{titleList.selectedItem.content}">
> </mx:TextArea>
>


Reply via email to