Show TOC

Background documentationifNavNodeVisualizationType Locate this document in the navigation structure

 

Includes its body if the current node is of the type specified by the equals attribute.

The tag library includes tags for each individual type of node, for example, ifNavNodeIsIView. This tag enables the development of additional types without the need to create new tags.

Attributes

Name

Mandatory

Description

equals

Yes

A constant that represents a type of navigation node. The constants for this attribute are defined in the INavigationConstants interface of the com.sapportals.portal.navigation package.

The following constants are defined:

  • TYPE_IVIEW=0

  • TYPE_PAGE=1

  • TYPE_FOLDER=2

INavigationConstants also provides the constant TYPE_WORKSET and TYPE_OTHER, but these are not valid for this tag.

Cooperating Tags

The tag must be nested in one of the following tags:

  • contextNavNode

  • iterateInitialNavNodes

  • iterateNavNodeChildren

  • iterateNavNodesInSelectedPath

  • iterateRelatedNavNodes

  • iterateSelectedNavNodesLevel

  • launchedNavNode

  • navNode

  • navNodeParent

  • recallNavNode

  • recurseNavNodeChildren

  • selectedNavNode

Example

Syntax Syntax

  1. <nav:ifNavNodeVisualizationType equals="1">
    
    ... Display icon for visualization type "page"
    
    </nav:ifNavNodeVisualizationType>
    
End of the code.