Show TOC Start of Content Area

Background documentation Types of Tags  Locate the document in its SAP Library structure

This section describes the different groups of layout tags.

Basic Layout Tags

The following tags enable you to specify the location of the containers within the JSP page.

     template: Specifies the start and end of the layout.

     container: Creates a layout container whose iViews use the standard tray.

The tag is nested in the template tag.

     containerWithTrayDesign: Creates a layout container whose iViews use the tray defined in the body of the tag. In the body of this tag, use the tags described in Custom Tray Tags below.

The tag is nested in the template tag.

Custom Tray Tags

All of the following tags, nested in the containerWithTrayDesign tag, are used to define a custom iView tray for the iViews displayed in the container.

·        IViewContent: Indicates where to display the iView’s content within the tray.

·        IViewTitle: Displays the iView’s title.

     IfIViewNameAvailable: Includes its body if the iView is set to display its title in its tray.

     IfNotIViewNameAvailable: Includes its body if the iView is set to not display its title in its tray.

·        IViewToggleOpen: Creates a link that shows the iView’s contents.

·        IViewToggleClose: Creates a link that hides the iView’s contents.

     IfShowTray: Includes its body if the current iView is set to be displayed in a tray.

     IfNotShowTray: Includes its body if the current iView is set to not be displayed in a tray.

     IViewFamily: Displays the value of the iView’s Family attribute, which indicates the type of content to be displayed in the iView.

     IViewTrayColor: Displays the color value for the iView’s Family attribute, which is generally used for the iView tray background color.

Tray Function Tags

The tag library includes a set of tags to create links for executing standard tray functions. For each type of link, there is one tag for creating the link anchor (for example, IViewAbout) and another for displaying the default link text translated for the current user (for example, IViewAboutTitle).

The following tags are available:

·        IViewAbout, IViewAboutTitle: Creates a link that displays information about the iView.

·        IViewExpand, IViewExpandTitle: Creates a link that opens the iView in a new window.

·        IViewHelp, IViewHelpTitle: Creates a link that displays help for the iView.

·        IViewPersonalize, IViewPersonalizeTitle: Creates a link that displays the personalize dialog for the iView.

·        IViewRefresh, IViewRefreshTitle: Creates a link that refreshes the iView.

·        IViewRemove, IViewRemoveTitle: Creates a link that removes the iView from the current page.

For each type of link, there are also tags that enable you to check if the administrator has set the link to be displayed for the iView. There is one tag whose body is included if the link is set to be displayed, and another whose body is included if the link is set to not be displayed.

The following tags are available:

     IfIViewAboutAvailable, IfIViewAboutNotAvailable

     IfIViewExpandAvailable, IfIViewExpandNotAvailable

     IfIViewHelpAvailable, IfIViewHelpNotAvailable

     IfIViewPersonalizeNotAvailable, IfIViewPersonalizeNotAvailable

     IfIViewRefreshAvailable, IfIViewRefreshNotAvailable

     IfIViewRemoveAvailable, IfIViewRemoveNotAvailable

For more information on these tags, see Tray Function Tags.

 

 

End of Content Area