LinkToActionLocate this document in the navigation structure

Definition

The LinkToAction UI element is a hypertext link. The navigation to this link triggers a Web Dynpro action. You can assign a popup menu to LinkToActionwhich the user can recognize by this symbol:

Description of UI Element Properties
  • activateAccessKey

    Indicates whether access key for this control is activated. More information: Enabling Access Keys

  • design

    specifies the design of the LinkToAction. The design property can take the following values and is represented by enumeration type WDLinkDesign.

    • emphasized . Highlights the text.
    • standard . Displays the text using the standard font size.
  • hotkey

    specifies the key combination that triggers the onAction event. The value is defined as enumeration type WDHotKey ..

  • imageAlt

    This property is deprecated. Use tooltip instead.

  • imageFirst

    Defines the position of the icon in relation to the corresponding text. If the value of this property is true, the icon is displayed to the left of the text.

  • imageHeight

    Specifies the height of the graphic next to the link. You can specify the height in CSS units like em, ex, pixels, or percentage.

  • imageSource

    defines the path to the icon source of the graphic to be displayed for a leave.

    See: Specifying the Image Source

  • imageWidth

    Specifies the width of the graphic next to the link. You can specify the width in CSS units like em, ex, pixel, or percentage.

  • size

    This property is deprecated.

  • text

    Determines the text

  • textDirection

    Specifies the text direction and allows you to use a LinkToAction element for texts in languages that require a specific text direction. The textDirectionproperty can take the following values and is represented by enumeration type WDTextDirection.

    inherit

    The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

    ltr

    The text runs from left to right.

    rtl

    The text runs from right to left.

    The default value for this property is inherit.

  • type

    Specifies the graphical design of the UI element. The type property can take the following values and is represented by enumeration type WDLinkType.

     

    function

    Link is displayed underlined in the standard design.

    navigation

    Link is displayed underlined and with a font color that is used for links already visited.

    reporting

    Link is displayed not underlined in the standard design.

    result

    Link is displayed not underlined.

  • wrapping

    Indicates whether or not the link text is wrapped. If the initial value is false , the link text is not wrapped.

Properties Overview
Name Interface Type Initial Value Bindable

activateAccessKey

IWDLink

boolean

false

not bindable

design

IWDLink

WDLinkDesign

standard

bindable

enabled

IWDUIElement

boolean

true

bindable

hotkey

IWDLinkToAction

WDHotkey

none

not bindable

imageFirst

IWDAbstractCaption

boolean

true

bindable

imageHeight

IWDLink

String (CSS size)

 

bindable

imageSource

IWDAbstractCaption

String

 

bindable

imageWidth

IWDLink

String (CSS size)

 

bindable

text

IWDLink

String (TranslatableText)

 

bindable

textDirection

IWDAbstractCaption

WDTextDirection

function

bindable

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

visible

IWDUIElement

WDVisibility

visible

bindable

wrapping

IWDLink

boolean

false

bindable

Events
  • onAction

    This event is triggered when the user navigates to the link.