cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the title of a Dialog box

former_member185029
Active Contributor
0 Kudos

Hello,

I am using a dialog box (which is seperate IView and pops up as a dialog box)

I am unable to change the title of the dialog box (at present it comes as window.PopupWindow.title)

What settings are needed to be done to change the title?

Please guide me.

Warm regards,

Ashutosh.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If u r using IWDWindow typecast that object to IWindow .

For this object you can set the title.

IWDWindow window = wdContext.currentContextElement().getWininstance();

IWindow in = (IWindow)window;

in.setTitle();

Regards

Bharathwaj

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bharathwaj,

Ok, this is an inevitable workaround for missing functionality but nevertheless I repeat it again and again: <b>Never ever hijack internal Web Dypro classes and interfaces</b>. The reasons are described in this <a href="href=/people/bertram.ganz/blog/2005/02/02/never-ever-hijack-internal-web-dynpro-classes-and-interfaces.

Do you really replace this unsupported coding in SP12,SP13 ... using the public API?

Regards, Bertram

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo,

from Service Pack Stack 12 on you can also programmatically set the window title with

IWDWindow.setTitle(String titleText).

Regards, Bertram

SandipAgarwalla
Active Contributor
0 Kudos

Hi,

Change the properties of the WINDOW in which you have embeded your dialog box view.There you should be able to set the " TITLE " property.

Regards.

sandip