TagCloud

Use

A TagCloud displays a list of entries as links. The list is based on specific criteria. For example, the links may comprise a list of frequently searched keywords, or pages frequently visited by an Internet user.

The visualization of the entries depends on the values specified in the context. The list is sorted in the order the entries were transferred from the server.

Implementation Details

Runtime Class

CL_WD_TAG_CLOUD

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

No

dataSource

Context Node

Mandatory

enabled

WDY_BOOLEAN

true

Yes

styleClassName STRING Yes

tagEnabled

WDY_BOOLEAN

true

Yes

tagHitcount

Translatable text

Yes

tagSize

I

1

Yes

tagText

Translatable text

Yes

tagTooltip

Translatable text

Yes

tooltip

Translatable text

Yes

visible

WDUI_VISIBILITY

visible

Yes

View Designer Name

onTagSelect

Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:

Dynamic Programming

View Designer Name

Runtime Name

Type

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

 contextMenuBehaviour: inherit

CL_WD_TAG_CLOUD=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

 contextMenuBehaviour: provide

CL_WD_TAG_CLOUD=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

 contextMenuBehaviour: suppress

CL_WD_TAG_CLOUD=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

dataSource

DATA_SOURCE

OBJECT

enabled

ENABLED

WDY_BOOLEAN

styleClassName STYLE_CLASS_NAME STRING

tagEnabled

TAG_ENABLED

WDY_BOOLEAN

tagHitcount

TAG_HITCOUNT

WDY_MD_TRANSLATABLE_TEXT

tagSize

TAG_SIZE

I

tagText

TAG_TEXT

WDY_MD_TRANSLATABLE_TEXT

tagTooltip

TAG_TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_TAG_CLOUD=>E_VISIBLE-NONE

 visible: visible

CL_WD_TAG_CLOUD=>E_VISIBLE-VISIBLE

View Designer Name

Runtime Name

onTagSelect

ON_TAG_SELECT

Example

You can find demo examples of this UI element in the system, in Web Dynpro applications WDR_TEST_TAGCLOUD and WDR_TEST_UI_ELEMENTS.