Export (0) Print
Expand All

Subhandler Tag 

A subhandler tag identifies a request handler that will be used to render some or all of the replacement tags in that file.


{{ subhandler handler_alias dll_path / request_handler }}

handler_alias

A name used to identify this specific request handler in the replacement tag. The length of this name is limited to ATL_MAX_HANDLER_NAME_LEN characters.

dll_path

The path to the DLL that contains the request handler that will render the replacement tags. Specify an absolute path or a path relative to the physical location of the server response file (SRF).

request_handler

The name of the request handler within the DLL specified by dll_path that will be used to render the replacement tags.

The request_handler string is mapped to a C++ request handler class by a HANDLER_ENTRY macro in the handler map of the DLL or by a request_handler attribute applied directly to the class.

There can be as many subhandler tags in a single SRF as you find necessary. Each subhandler tag should have a unique value for the handler_alias.

{{ subhandler Book Book.dll/Default }}

For another example, see the SRFSyntax Sample.

Community Additions

ADD
Show:
© 2014 Microsoft