MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guida Utente Pagina 117

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 256
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 116
Display a selected item 117
A browser opens and runs the application.
Blog titles and dates should appear in the DataGrid control, confirming that the
application successfully retrieved data from the RSS feed and populated the control.
Display a selected item
When the user selects a post in the DataGrid control, you want the application to display the
first few lines of the post in the TextArea control. In the item node of the XML feed, this
information is contained in a field called description.
1. In Source mode, enter the following htmlText property (in bold) in the <mx:TextArea>
tag:
<mx:TextArea x="20" y="175" width="400"
htmlText="{dgPosts.selectedItem.description}" />
Vedere la pagina 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 255 256

Commenti su questo manuale

Nessun commento