Sun Java System Portal Server 7.1 Technical Reference

Chapter 53 Context Setup Tags

The context setup tags, which start with the prefix obtain, set up the context (storing the container or provider in question into the pageContext). Whatever tag operation that happens within these tags is done on the provider that is set in the context.

This chapter describes the context setup tags in the tag libraries. The table has four columns: the first column lists the tag name, the second describes what the tag does, the third column gives what TLD file the tag is in, and the fourth lists that tag’s attributes with brief comments.

All the context setup tags contain a value of JSP for the bodycontent tag.

Context Setup Tags

Table 53–1 Context Setup Tags

Tag Name 

Description 

in TLD File 

Attributes/Descriptions 

obtainChannel 

Gets channel object. 

desktop.tld 

channel (required) - the name of the channel 

obtainContainer 

Gets container object. 

desktop.tld 

container (required) - the name of the container 

obtainParentContainer 

Gets the parent container name. 

desktopContainerProviderContext.tld 

none 

obtainChannelFromContainer 

 

desktopContainerProviderContext.tld 

channel (required) - the name of the channel 

obtainSelectedChannel 

 

desktopSingle.tld 

none 

obtainTab 

 

desktopTab.tld 

tab (required) - the name of the tab 

obtainTabByName 

Gets the tab name. 

desktopTab.tld 

name (required) - the name of the tab