The UrlTemplate base class has a several key properties that are inherited by the DirectUrlTemplate and IndirectUrlTemplate subclasses. The following list summarizes these properties. Some of the properties are described in more detail in subsequent sections.

maxUrlLength
The maximum number of characters in a generated URL.

supportedBrowserTypes
List of browser types supported by this template. Each entry must match the name of an atg.servlet.BrowserType component. See Specifying Supported and Excluded Browser Types.

excludedBrowserTypes
List of browser types that are explicitly not supported by this template. Each entry must match the name of an atg.servlet.BrowserType instance. See Specifying Supported and Excluded Browser Types.

webAppRegistry
The web application registry that contains the context paths for registered web applications.

The IndirectUrlTemplate class has additional properties not found in the DirectUrlTemplate class. These properties are summarized in the following list. Note that these properties are used only by the SEO jump servlet, and not by the ItemLink servlet bean.

indirectRegex
The regular expression pattern the jump servlet uses to extract parameter values from a static request URLs. See Using Regular Expression Groups.

regexElementList
An ordered list where each list element specifies the parameter type of the corresponding regular expression element in indirectRegex. See Using Regular Expression Groups.

forwardUrlTemplate
The URL format used by the jump servlet to generate a dynamic URL for forwarding a static request URL. Like the urlTemplate property, this is expressed using the same syntax as java.text.MessageFormat, but uses parameter names instead of parameter numbers as placeholders.

useUrlRedirect
If true, the jump servlet redirects the request to a dynamic URL rather than forwarding it. Default is false, which means that forwarding is used.

 
loading table of contents...