I have a table with element, and a Delete button.
My requirement is: when I select one element, if I push this button, it open a pop-up with the same table but ONLY with the element selected.
Here is the code of "action" for the "delete" button:
public void onActionDeleteElement(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionDeleteElement(ServerEvent)
logger.entering("onActionDeleteElement");
IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI
.getComponentInfo().findInWindows("Popup_View");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(
windowInfo);
window.setTitle("Selected");
window.show();
logger.exiting("onActionDeleteElement");
//@@end
}
I really need help, please.
Thank you.