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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 112
Insert a HTTPService component 113
3. In the <mx:Panel> tag, replace the value of the title property (“Blog Reader”) with the
following binding expression (in bold):
title="{feedRequest.lastResult.rss.channel.title}"
This expression binds the title field to the Panel control. The expression reflects the
structure of the XML. When XML is returned to a HTTPService component, the
component parses it into an ActionScript object named lastResult. The structure of the
lastResult object mirrors the structure of the XML document. To check the XML
structure, download the RSS feed’s XML file (at http://www.adobe.com/go/flex_blogfeed)
and open it in Internet Explorer.
The general structure of the XML is as follows:
<rss>
<channel>
<title>
other child nodes of <channel>
<item>
<title>
other child nodes of <item>
</item>
...
Seitenansicht 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare