cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically change a title of a window according of the active view?

thomas_mueller8
Participant
0 Kudos

Hi Guys,

I have a window which handles two views. The navigation via Inbound/Outbound Plugs works fine. Is it possible to show different titles for this window, according to the view which is active (displayed)?

Example

WINDOW

- contains: - View1 the window title should be: Title 1

- View2 the window title should be: Title 2

How can I do this and what would be the best place to do it?

Warm regards,

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_mueller8
Participant
0 Kudos

Thanks for all the answers.

ChandraMahajan
Active Contributor
0 Kudos

Hi,

your window title is nothing but the description of the Webdynpro Application. you cannot change this.

Thanks,

Chandra

Edited by: Chandrashekhar Mahajan on Oct 6, 2011 6:19 PM

Former Member
0 Kudos

As already said it is not possible in 7.01 but i guess it is possible in 7.02 to change the application title.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

As already said it is not possible in 7.01 but i guess it is possible in 7.02 to change the application title.

That is correct. There is no way in 7.01 and lower to change this at runtime. However in 7.02 and higher you can do it with this new API call:

wd_this->wd_get_api( )->get_component( )->get_application( )->set_window_title( lv_window_title ).