Adobe Extending Dreamweaver CS4 Manuale Utente Pagina 304

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 387
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 303
298
EXTENDING DREAMWEAVER CS4
Data sources
4 Drag the variable to your document, and Dreamweaver inserts the appropriate code from the EDML file:
The data sources API functions
The functions in the data sources API let you find, add, edit, and delete data sources and also generate and inspect
dynamic data objects.
addDynamicSource()
Availability
Dreamweaver UltraDev 1.
Description
This function adds a dynamic data source. Because there is one implementation of this function in each data source
file, Dreamweaver calls the appropriate implementation of the
addDynamicSource() function when you select a data
source from the Plus (+) menu.
For example, for recordsets or commands, Dreamweaver calls the
dw.serverBehaviorInspector.popupServerBehavior() function, which inserts a new server behavior into the
document. For request, session, and application variables, Dreamweaver displays an HTML/JavaScript dialog box to
collect the name of the variable; the behavior stores the variable name for future use.
After the addDynamicSource() function returns, Dreamweaver erases the contents of the data source tree and calls
the
findDynamicSources() and generateDynamicSourceBindings() functions to repopulate the data source tree.
Returns
Dreamweaver expects nothing.
deleteDynamicSource()
Availability
Dreamweaver UltraDev 1.
Description
Dreamweaver calls this function when a user selects a data source in the tree and clicks the Minus (-) button.
Vedere la pagina 303
1 2 ... 299 300 301 302 303 304 305 306 307 308 309 ... 386 387

Commenti su questo manuale

Nessun commento