Service Zone Type
You will usually use the ServiceZoneHandler, which also requires you to define a page service to provide the underlying business data for the zone. The ServiceZoneHandler is a powerful, generic handler that is suitable for a large number of practical zone implementations.
This handler:
• Retrieves a page service buffer and converts it to XML with appropriate localization
• Executes XSLT transform on the result
• Can display errors
• Is performance optimized with stylesheet caching
In a development environment you may want to flush the stylesheet cache. Simply invoke the flushPortalMetaInfo.jsp to clear it.
The following table describes the ServiceZoneHandler parameters:
Parameter | Description |
---|
SERVICE | The page service to retrieve data, e.g. CILFAFHP |
XSLURL | Path to XSLT file (for example, WEB-INF/xsl/linkValueGrid.xsl) Your files should be under /cm/xsl. |
ALLOW_GET_ALL | Allow display of "Get All" button if the data that you want to show won't fit in one buffer. |
KEY1 - KEY5 | Defines required keys. If one of these keys is empty the zone is not rendered (unless null keys are allowed, see below). |
ALLOW_NULL_KEYS | If ALLOW_NULL_KEYS is "Y", only one of the keys is required (any will work). |
The following diagram illustrates example parameters for the service zone type:
Example Metadata for Service Zone Type
Parent topic