cancel
Showing results for 
Search instead for 
Did you mean: 

Confirmation Dialog setTitle

Former Member
0 Kudos

Hello,

Is it possible to set the title of an IWDConfirmationDialog? I want to replace the standard title "Confirmation Dialog" by my own title.

Thanks,

Thomas Morandell

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the answers!

I think it would be the best thing, I replace the ConfirmationDialog with a modal Window (IWDWindow). In that case I can set the title, can't I?

regards

Thomas

Former Member
0 Kudos

Thomas,

Actually, you can <b>define</b> title in this (modal IWDWindow) case at <b>design-time only</b> for corresponding <i>Window</i>.

Modifying title at run-time put you back to non-API calls.

VS

Former Member
0 Kudos

Hi Thomas,

this is not possible without using methods not available in the WebDynpro API. If you don't mind, cast the dialog instance to com.sap.tc.webdynpro.services.session.IWindow, then you'll get the method desired.

Hope that helps.

Regards,

Stefan

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo,

although I have pity with your situation I insist on the following rule and not to hijack IWindow in your case:

<u><b>Never Ever Hijack Internal Web Dynpro Classes and Interfaces</b></u>, described in https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1222. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Regards, Bertram

Former Member
0 Kudos

Bertram, so when is setTitle() going to be available in the Web Dynpro API? It seems like a glaring omission as you cannot assign context variables into the window title.