BreadCrumb
Use
A BreadCrumb displays the current page in the context of a navigation path. You can, for example, display a history of the pages last visited or the structure of the information provided. A BreadCrumb consists of individual links, or in its entirety represents one link.
You can insert two different types of BreadCrumb steps into one BreadCrumb.
BreadCrumbSteps are bound to individual context attributes. In this way, the number of displayed steps is defined during runtime. In comparison, a MultipleBreadcrumbStep is bound to a context node. This allows the number of displayed steps to be dynamically adjusted at runtime.
Implementation Details
|
Runtime Class |
CL_WD_BREAD_CRUMB |
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDUI_BREAD_CRUMB_BEHAVIOR |
multipleLinks |
Yes |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
Yes |
||
|
Translatable text |
> |
Yes |
|
| styleClassName | STRING | Yes | |
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
Name |
Cardinality |
Type |
|---|---|---|
|
0..n |
|
Name |
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
BEHAVIOUR |
WDY_BOOLEAN |
|
|
behaviour: multipleLinks |
CL_WD_BREAD_CRUMB=>E_BEHAVIOUR-MULTIPLE_LINKS |
|
|
behaviour: singleLink |
CL_WD_BREAD_CRUMB=>E_BEHAVIOUR-SINGLE_LINK |
|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_BREAD_CRUMB=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_BREAD_CRUMB=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_BREAD_CRUMB=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
SEPARATOR_IMAGE_SOURCE |
STRING |
|
|
SEPARATOR_TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
| styleClassName | STYLE_CLASS_NAME | STRING |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_CHECKBOX=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_CHECKBOX=>E_VISIBLE-VISIBLE |
|
View Designer Name |
Runtime Name |
|---|---|
|
ON_SELECT |
|
Name |
Runtime Name |
Cardinality |
Type |
|---|---|---|---|
|
STEPS |
0..n |
Example
You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the View BreadCrumb.