MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Spezifikationen Seite 337

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 504
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 336
Editing EDML files 337
dwscripts.deleteSB()
Availability
Dreamweaver MX (this function replaces the deleteSB() function from earlier versions of
Dreamweaver).
Description
Deletes all the participants of the sbObj server behavior instance. The entire participant is
deleted, unless the EDML file indicates special delete instructions with the
delete tag. It
does not delete participants that belong to more than one server behavior instance (reference
count > 1).
Arguments
sbObj
The sbObj argument is the server behavior object instance that you want to remove from
the users document.
Returns
Dreamweaver expects nothing.
Example
The following example deletes all the participants of the sbObj server behavior, except the
participants that are protected by the EDML files
delete tag.
function deleteServerBehavior(sbObj) {
dwscripts.deleteSB(sbObj);
}
Editing EDML files
You must maintain Dreamweaver coding conventions when you edit a file. Pay attention to
the dependency of one element upon another. For example, if you update the tags that are
being inserted, you might also need to update the search patterns.
NOTE
EDML files were new in Dreamweaver MX. If you are working with legacy server
behaviors, see the earlier versions of the Extending Dreamweaver manuals.
Seitenansicht 336
1 2 ... 332 333 334 335 336 337 338 339 340 341 342 ... 503 504

Kommentare zu diesen Handbüchern

Keine Kommentare