There are two parameters (with some text in between them) to extract. Given the text:
<%= a_BIG_b %>
second subexpression is ignored (note the
matches
"b"
, so
p2="b"
limitSearch
Description
This attribute limits the search to some part of the
Parent
searchPattern
Type
Attribute.
Required
No.
Values
,
all
attribute+attribName
•
The
value (default) searches the entire tag that is specified in the
all
•
The
attribute+attribName
shown in the following example:
<searchPatterns whereToSearch="tag+FORM">
<searchPattern limitSearch="attribute+ACTION">
/MY_PATTERN/
</searchPattern>
</searchPatterns>
This example indicates that only the value of the
searched. If that attribute is not defined, the tag is ignored.
•
The
tagOnly
valid only if
whereToSearch
•
The
innerOnly
valid only if
whereToSearch
isOptional
Description
This attribute is a flag that indicates that the search pattern is not required to find the participant.
This is useful for complex participants that might have non-critical parameters to extract. You can
create some patterns for distinctly identifying a participant and have some optional patterns for
extracting non-critical parameters.
Parent
searchPattern
276
Chapter 15: Server Behaviors
, the first subexpression in the search pattern matches
.
,
tagOnly
value searches only within the value of the specified attribute, as
value searches only the outer tag and ignores the
is a tag.
value searches only the
is a tag.
in the
,,
paramName
whereToSearch
,
innerOnly
attribute of
ACTION
tag and ignores the outer tag. This value is
innerHTML
"a"
, so
. The
p1="a"
value). The third subexpression
tag.
whereToSearch
tags should be
FORM
tag. This value is
innerHTML
attribute.
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers