Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

RENDER.CONTENTSERVER

Calls and renders a page or a pagelet from the SiteCatalog table.

Syntax

Parameters

PAGENAME (required)
Input. The name of the page entry from the SiteCatalog to render.

ARGS_ (optional)
Input. Name/value pairs to pass to the called element, with the string ARGS_ as the prefix for the variable name. For example, CS-Direct sets several variables through the resargs2 column in a page entry. To pass a value for one of these variables to a RENDER.CALLELEMENT tag, you affix ARGS_ to the beginning of the variable: ARGS_cid="Variables.id", ARGS_c="article", and so on.

Description

This tag is the CS-Direct equivalent of the Content Server <CONTENTSERVER/> tag with the following differences:

Use this tag to call the ContentServer servlet to serve a CS-Direct page or pagelet. The page or pagelet must have a page entry in the SiteCatalog. If the specified pagelet is already cached, this tag loads it. If the specified pagelet is not already cached, this tag caches it (if caching is enabled for it) and loads it.

Variables passed to the ContentServer Module are subject to the following order of precedence:

If an element is coded with a RENDER.SATTLELITEPAGE tag but CS-Satellite is not present, RENDER.SATELLITEPAGE passes the call to RENDER.CONTENTSERVER which then serves the page or pagelet.

errno

The value of errno is unchanged.

Example

This code calls for the page entry of a template named PlainList, passing the ID of the asset that it should display and the ID of the asset's parent page:

See Also

RENDER.SATELLITEPAGE

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.