!--a11y-->
ToolBarLinkToAction 
This UI element makes a hypertext link available in a ToolBar. The navigation to this link triggers a Web Dynpro action.

To enable the development of accessible applications, the tooltip property is checked during the syntax check if the property text is not set.
A tooltip does not necessarily have to be set for this UI element, but it could make sense to set it if it contains detailed semantic information.
Runtime Class |
CL_WD_TOOLBAR_LINK_TO_ACTION |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
id |
STRING |
(automatic) |
No |
WDY_BOOLEAN |
false |
Yes |
|
WDY_BOOLEAN |
true |
Yes |
|
WDY_BOOLEAN |
true |
Yes |
|
STRING |
|
Yes |
|
STRING |
|
Yes |
|
STRING |
|
Yes |
|
Text |
|
Yes |
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
Text |
|
Yes |
|
WDUI_VISIBILITY |
visible |
Yes |
|
WDY_BOOLEAN |
false |
Yes |
Events in View Designer
Name |

Other properties that can be inherited are defined in the associated higher-level class. The associated UI elements are:
● Link
For dynamic programming, the same properties, events and aggregations are available as in View Designer. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
COLLAPSIBLE |
WDY_BOOLEAN |
|
ENABLED |
WDY_BOOLEAN |
|
IMAGE_FIRST |
WDY_BOOLEAN |
|
IMAGE_HEIGHT |
STRING |
|
IMAGE_SOURCE |
STRING |
|
IMAGE_WIDTH |
STRING |
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
textDirection: inherit |
CL_WD_TOOLBAR_LINK_TO_ACTION=>E_TEXT_DIRECTION-INHERIT |
|
textDirection: ltr |
CL_WD_TOOLBAR_LINK_TO_ACTION=>E_TEXT_DIRECTION-LTR |
|
textDirection: rtl |
CL_WD_TOOLBAR_LINK_TO_ACTION=>E_TEXT_DIRECTION-RTL |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_TOOLBAR_LINK_TO_ACTION=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_TOOLBAR_LINK_TO_ACTION=>E_VISIBLE-VISIBLE |
|
WRAPPING |
WDY_BOOLEAN |
|
Dynamic Programming of Events
View Designer Name |
Runtime Name |
ON_ACTION |
You can find an example of this UI element in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.