cancel
Showing results for 
Search instead for 
Did you mean: 

Window Title

Former Member
0 Kudos

How can I get/set my current window title during runtime?

Message was edited by: Aviad Levy - Added "during runtime"

Accepted Solutions (0)

Answers (3)

Answers (3)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo,

there is no way to dynamically change the Window title (of the the application window/window of the root component) at runtime within NW 2004 and NW 2004s. I will add this item to the list of open requirements.

Regards, Bertram

Former Member
0 Kudos

hi Aviad

Has the problem been solved?

if so what is the solution? it would be quite useful if you display it in the forum.Even i was stuck with the same problem and quite eager to know the solution.

regards

saravanan.

Former Member
0 Kudos

Go to window (in Web Dynpro Explorer) double click to get properties and change "title"

Former Member
0 Kudos

I was not clear enough in my question.

How do I change it during runtime?

(I will edit the first post too)

Former Member
0 Kudos

yea, the question was too easy :).

setTitle is function of IWDWindow.

I'll try to get current IWDWindow and if I get, I'll post it

Former Member
0 Kudos

Hi,

U can set the window title as the below code snippet.

<b>IWDWindowInfo wininfo = wdComponentAPI.getComponentInfo().findInWindows("<windowname>");

IWDWindow window = wdComponentAPI.getWindowManager().createWindow(wininfo,true);

window.open();

((Window) window).setTitle("<New window title>");</b>

Hope it helps,

Regards,

Nagarajan.

Former Member
0 Kudos

If I use the "window.open" I will get a new window.

I do not wish to create another window, just to alter my current window title.