MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Spezifikationen Seite 169

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 692
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 168
Server Behaviors 169
EDML Tag: searchPatterns
Description
Provides information about how to find the participant text in the document and contains a list
of patterns that are used when searching for a participant. If multiple search patterns are defined,
they all must be found within the text being searched (the search patterns have a logical AND
relationship), unless they are marked as optional using the
isOptional flag.
Parent
implementation
Type
Block tag.
Required
No.
Attribute: whereToSearch
Description
Specifies where to search for the participant text. This is related to the insert location, so be sure
to set them both carefully (see Attribute: location on page 166).
Parent
searchPatterns
Type
Attribute.
Required
Yes.
Values
directive, tag+tagName, tag+*, comment, text
directive searches all server directives (server-specific tags). For ASP and JSP, this means
search all <% ... %> script blocks.
Note: Tag attributes are not searched, even if they contain directives.
tag+tagName searches the contents of a specified tag, as shown in the following example:
<searchPatterns whereToSearch="tag+FORM">
This example indicates that only form tags should be searched. By default, the entire
outerHTML is searched. For INPUT tags, specify the type after a slash (/). In this example, to
search all submit buttons, enter the following code:
<searchPatterns whereToSearch="tag+INPUT/SUBMIT">.
tag+* searches the contents of the any tag, as shown in the following example:
<searchPatterns whereToSearch="tag+*">
This example indicates that all tags should be searched.
Seitenansicht 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 691 692

Kommentare zu diesen Handbüchern

Keine Kommentare