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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 215
216 Use Web Services
Blog titles and click statistics should appear in the DataGrid control after the application
starts, confirming that the application successfully retrieved data from the web service and
populated the control.
Select another option from the ComboBox control to send a request to the web service
and retrieve a longer or shorter list of posts.
Create a dynamic link
The web service doesnt provide the full text of the posts, but you still want users to be able to
read the posts if they’re interested. While the web service doesnt provide the information, it
does provide the URLs to individual posts. According to the API documentation for the
getMostPopularPosts method (see “Review the API documentation” on page 206), the
information is contained in a field called
postLink.
You decide to create a dynamic link that opens a browser and displays the full content of the
post selected in the DataGrid control.
NOTE
There may be a delay of a few seconds before the data appears while the application
is contacting the server.
Seitenansicht 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare