MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Especificações Página 392

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 504
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 391
392 Data Sources
For example, in Dreamweaver, if the selection is a recordset or command, the
deleteDynamicSource() function calls the
dw.serverBehaviorInspector.deleteServerBehavior() function. If the selection is a
request, session, or application variable, the function remembers that the variable was deleted
and does not continue to display it. After the
deleteDynamicSource() function returns,
Dreamweaver erases the contents of the data source tree and calls the
findDynamicSources()
and
generateDynamicSourceBindings() functions to get a new list of all the data sources
for the user’s document.
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 nothing.
displayHelp()
Description
If this function is defined, a Help button appears below the OK and Cancel buttons in the
dialog box. This function is called when the user clicks the Help button.
Arguments
None.
Returns
Dreamweaver expects nothing.
Example
// The following instance of displayHelp() opens
// a file (in a browser) that explains how to use
// the extension.
function displayHelp(){
var myHelpFile = dw.getConfigurationPath() +
'/ExtensionsHelp/superDuperHelp.htm';
dw.browseDocument(myHelpFile);
}
Vista de página 391
1 2 ... 387 388 389 390 391 392 393 394 395 396 397 ... 503 504

Comentários a estes Manuais

Sem comentários