Sun Java System Portal Server 7.1 Technical Reference

Chapter 54 Validator Tags

The validator tags validate that the provider in context can legally use the tags in the TLD. Each TLD, with the exception of desktop.tld, has a validator tag defined (usually with the name of the TLD file). If the provider in context cannot use the tags defined in the TLD, an exception is thrown that is displayed on the screen and processing stops.

Users should surround tags that belong to a specific TLD with the respective validator tag. However, it is not possible to enforce that in a JSP environment. To make it easier for users to “guess” which TLD they can use or to debug the JSPs, getProviderClassName() and getContainerClassName() tags are provided in the desktop.tld. They return the class name of the container or provider in the context.

Validator Tags

The list of Validator tags and their description are:

providerContext

Validates that the provider in the context can legally use the tags in desktopproviderContext.tld.

containerProviderContext

Validates that the provider in the context can legally use the tags in desktopcontainerProviderContext.tld.

singleContainerProvider

Validates that the provider in the context can legally use the tags in desktopSingle.tld.

obtainSelectedChannelFromRequest

Gets the channel name from request. This tag is in desktopSingle.tld.

tableContainerProvider

Validates that the provider in the context can legally use the tags in desktopTable.tld.

tabContainerProvider

Validates that the provider in the context can legally use the tags in desktopTab.tld.