Show TOC Start of Content Area

Background documentation Tray Function Tags  Locate the document in its SAP Library structure

The layout tag library provides tags for creating links for invoking tray functions, such as refreshing or personalizing the iView.

For each type of link, the following types of tags are available (an example is shown in parentheses):

Tray Functions

Tags are available for the following tray functions (available tags are listed after each function):

      About: Displays information about the iView.

       IViewAbout

       IViewAboutTitle

       IfIViewAboutAvailable

       IfIViewAboutNotAvailable

      Expand: Opens the iView in a new window.

       IViewExpand

       IViewExpandTitle

       IfIViewExpandAvailable

       IfIViewExpandNotAvailable

      Help: Displays help for the iView.

       IViewHelp

       IViewHelpTitle

       IfIViewHelpAvailable

       IfIViewHelpNotAvailable

      Personalize: Displays the personalize dialog for the iView.

       IViewPersonalize

       IViewPersonalizeTitle

       IfIViewPersonalizeNotAvailable

       IfIViewPersonalizeNotAvailable

      Refresh: Refreshes the iView.

       IViewRefresh

       IViewRefreshTitle

       IfIViewRefreshAvailable

       IfIViewRefreshNotAvailable

      Remove: Removes the iView from the current page.

       IViewRemove

       IViewRemoveTitle

       IfIViewRemoveAvailable

       IfIViewRemoveAvailable

Coordinating Tags

These tags must be nested in the following tag:

      containerWithTrayDesign  

Example

The following is a section of a layout JSP page that displays a link for each tray function if the administrator has set that link to be displayed for the current iView. The code must be nested in a containerWithTrayDesign tag.

<lyt:IfIViewExpandAvailable>

    <lyt:IViewExpand><lyt:IviewExpandTitle/>

    </lyt:IViewExpand>&nbsp;|&nbsp;

</lyt:IfIViewExpandAvailable>

                 

<lyt:IfIViewRefreshAvailable>

    <lyt:IViewRefresh><lyt:IViewRefreshTitle/>

    </lyt:IViewRefresh>&nbsp;|&nbsp;

</lyt:IfIViewRefreshAvailable>

 

<lyt:IfIViewAboutAvailable>

    <lyt:IViewAbout><lyt:IViewAboutTitle/>

    </lyt:IViewAbout>&nbsp;|&nbsp;

</lyt:IfIViewAboutAvailable>

 

<lyt:IfIViewHelpAvailable>

    <lyt:IViewHelp><lyt:IViewHelpTitle/>

    </lyt:IViewHelp>&nbsp;|&nbsp;

</lyt:IfIViewHelpAvailable>

 

<lyt:IfIViewRemoveAvailable>

    <lyt:IViewRemove><lyt:IViewRemoveTitle/>

    </lyt:IViewRemove>&nbsp;|&nbsp;

</lyt:IfIViewRemoveAvailable>

 

<lyt:IfIViewPersonalizeAvailable>

    <lyt:IViewPersonalize><lyt:IViewPersonalizeTitle/>

    </lyt:IViewPersonalize>

</lyt:IfIViewPersonalizeAvailable>

 

 

 

 

 

End of Content Area