Entering content frame

Background documentation PageHeader Locate the document in its SAP Library structure

With the PageHeader you can create a heading for a page. Any number of UI elements can be displayed below the heading in the PageHeaderArea. In the example below TextViews are shown.

 

Example of the Display

This graphic is explained in the accompanying text

 

Runtime Class

CL_WD_PAGE_HEADER

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

enabled

WDY_BOOLEAN

true

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

title

Text

 

Yes

tooltip

Text

 

Yes

visible

WDUI_VISIBILITY

visible

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

Area

0..n

PageHeaderArea

Title content

0..1

UIElement

Note

Further properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

·         UIElement

·         ViewElement

 

Dynamic Programming

For dynamic programming the same properties, events, and aggregations are provided in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

enabled

ENABLED

WDY_BOOLEAN

textDirection

TEXT_DIRECTION

WDUI_TEXT_DIRECTION

 textDirection: inherit

CL_WD_PAGE_HEADER=>E_TEXT_DIRECTION-INHERIT

 textDirection: ltr

CL_WD_PAGE_HEADER=>E_TEXT_DIRECTION-LTR

 textDirection: rtl

CL_WD_PAGE_HEADER=>E_TEXT_DIRECTION-RTL

title

TITLE

WDY_MD_TRANSLATABLE_TEXT

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_PAGE_HEADER=>E_VISIBLE-NONE

 visible: visible

CL_WD_PAGE_HEADER=>E_VISIBLE-VISIBLE

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Area

AREAS

0..n

Title content

TITLE_CONTENT

0..1

Example

You can find an example of this UI element in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.

 

 

 

Leaving content frame