cancel
Showing results for 
Search instead for 
Did you mean: 

setTitle Method of interface IWDConfirmationDialog

0 Kudos

Hi,

I have created a confirmation dialog and i want to set another title.

I have read in the webdynpro api documentation that this interface inherits all methods of interface IWDWindow, for example setTitle. But this method is not proposed for the object from type IWDConfirmationDialog.

Please help!

Best regards,

nada

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Valery,

ok. The problem is that i want to change the text 'confirmation dialog' of the dialog i have created.

How can i do this?

Best regards,

Nada

Former Member
0 Kudos

Hmm, I guess I've already answered this question:

1. If you want pure API-only calls then you are unnable to do this.

2. If you allowed to call non-public API, just cast IWDConfirmationDialog to com.sap.tc.webdynpro.services.session.IWindow and invoke setTitle(String title)

Regards,

VS

Former Member
0 Kudos

IWDWindow has no setTitle method (as of SP9)

Method setTitle defined in IWindow interface that is not part of public API, but in fact implemented by windows opend via createModalWindow/createConfirmationWindow of IWDWindowManager. So, do not use it or use it on your own risk (risk of portability with upcoming releases).

Regards,

VS