Cisco Cisco Collaboration Server Dynamic Content Adapter
DCA 2.01 Administration and Configuration Guide
About Rule Scripts 126
and the URL of the requested page. It can be used to look up almost every
property related to DCA configuration and request information.
property related to DCA configuration and request information.
The Data object's Java class is different on the server and client:
com.cisco.proxy.rules.RequestData
com.cisco.proxy.rules.RequestData
(on server);
com.cisco.proxy.rules.LightweightRequestData
(on client).
• The Match object represents the text matched by an Accept statement during
parsing. It is used to extract matched text and, as necessary, change the
contents of the match. When rendered in the final output, this produces a
different string than what was in the original document.
contents of the match. When rendered in the final output, this produces a
different string than what was in the original document.
The Match object's Java class is com.cisco.proxy.rules.ParsedMatch.
Other Script Objects
In addition to those described in the previous section, several other objects are
provided for convenience in the script environment. These include:
provided for convenience in the script environment. These include:
• TagURL provides help for handling URL related formatting.
• On the server, alert() provides for output to the Collaboration Toolbar.
The interfaces for these and additional objects are described in the DCA Parser API
Specification.
Specification.
See Also
For related information, see:
About the Parsing Engine
About the Rule Element
The DCA Parser API Guide
About the Rule Element
The DCA Parser API Guide