MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Spécifications Page 393

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 504
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 392
The Data Sources API 393
editDynamicSource()
Availability
Dreamweaver MX.
Description
This function is called when the user double-clicks a data source name in the Bindings panel
to edit the data source. You can implement this function to handle user edits in the tree.
Otherwise, the server behavior that matches the data source is automatically invoked. The
extension developer can use this function to override the default implementation of server
behaviors and provide a custom handler.
Arguments
sourceName, bindingName
The sourceName argument is the name of the top-level node to which the child node is
associated.
The bindingName argument is the name of the child node.
Returns
Dreamweaver expects a Boolean value: true if the function has handled the edit;
false otherwise.
findDynamicSources()
Availability
Dreamweaver UltraDev 1.
Description
This function returns the top-level nodes from the data source tree that appears in the
Dynamic Data or Dynamic Text dialog box or in the Bindings panel. Each data source file has
an implementation of the
findDynamicSources() function. When Dreamweaver refreshes
the tree, Dreamweaver reads through all the files in the DataSources folder and calls the
findDynamicSources() function in each file.
Vue de la page 392
1 2 ... 388 389 390 391 392 393 394 395 396 397 398 ... 503 504

Commentaires sur ces manuels

Pas de commentaire