FormattedTextEdit Properties

Use

Properties in View Designer

  • height

    Height of the UI element; see also Methods and Properties of UI Elements. This property can be personalized by administrators.

  • imeMode

    Control of the frontend IMS mode.

    IME (Input Method Editor) is a basic component for writing Chinese, Japanese, and Korean characters. This system of writing has more characters than could be keyed in using a normal (restricted) keyboard. IME enables users to key in and edit Chinese, Japanese, and Korean characters using a normal (restricted) keyboard.

    The following values are possible:

    Value

    Description

    active

    IME mode is active but can be deactivated

    auto

    IME mode setting is disregarded

    disabled

    IME mode is inactive but cannot be activated

    inactive

    IME mode is inactive but can be activated

  • readOnly

    Specifies whether FormattedTextEdit can be edited or only displayed. This property can be personalized by administrators. In personalization, this property can be assigned the value: true

  • state

    Value

    Description

    normal

    Initial Value

    Nothnig happens.

    required

    The UI element FormattedTextEdit is mandatory. This is displayed with an asterisk in front of the label (see graphic):

    The following method calls can be used to check the mandatory fields:

    • cl_wd_dynamic_tool=>check_mandatory_attributes()

    • cl_wd_dynamic_tool=>check_mandatory_attr_on_view()

    As soon as one of these method calls has been triggered, the system checks whether the referenced value is still initial or has been changed. If it has been changed, nothing happens. If it is still iniital, a message appears that consists of an icon and a link. When a link is selected, the focus is set on the referenced UI element. This is done using the context attribute.

  • textDirection

    Text or writing direction.

    This enables labels of interface elements to be read in languages that have an RTL writing direction, such as Arabic or Hebrew, as opposed to LTR for languages like English.

    This property can be personalized by administrators.

    Value

    Description

    Can be Set Using Personalization

    inherit

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

    Yes

    ltr

    Left to right text direction

    Yes

    rtl

    Right to left text direction

    Yes

  • value

    Formatted text that you want to display in FormattedTextEdit.

    Primary Property

  • width

    Width of the UI element, see also Methods and Properties of the UI Elements This property can be personalized by an administrator.