MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Betriebsanweisung Seite 117

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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}" />
Seitenansicht 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare