Hii All,
I have a peice of code where my requirement is to embed sapicons along with text on a button in a dialog box .The code lies herewith :
public void onActionaSaveData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
g_PopUpOrigin = new String("Upload");
String l_dialogText = "Are you sure you wish to save?" + "\n" +
"Warning - Any added Vendors plus their associated Price, " +
"Currency, Incoterm etc. is not editable after save";
IWDConfirmationDialog l_dialog = wdComponentAPI.getWindowManager().createConfirmationWindow (l_dialogText,wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("Save_OK"),"Yes");
l_dialog.show();
}
-
>Save_OK is the method called on click of button "Yes".I want to embed a sapicon along with this text "Yes" on the button.
-
public void Save_OK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
wdContext
.currentContextElement()
.getCtx_va_ExcelUploadSaveWindow()
.destroyInstance();
wdContext.currentContextElement().setCtx_va_CurrentEventParameter(wdEvent);
wdThis.wdGetVendorAllocationCustController().mSaveUploadedData();
}
-
Can anybody help me out with the requirement??
Thanks in advance,
Parama.