on 10-02-2008 7:42 AM
Hi
In Webdynpro Java, is it possible to make an External window MODAL?
I understand that this very possible for internal windows, but my requirement is that the window must be external and must be modal.
My code thus far is the following:
String url="http://<host>.<domain>:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fX!2fcom.x.test!2fcom.x.app";
String title="Verification";
IWDWindow win=wdComponentAPI.getWindowManager().createExternalWindow(url,title ,false);
win.open();
If not possible, then is there a way to accomplish through javascrpting?
Your help ang suggestions will be much appreciated!!
Hi All
Thank you for all the prompt responses. However I have tried out all the different options prior to posting this question on SDN.
My issue still remains: The new window must be external and must be modal.
From Valery Silaev's response to a similar question, I quote "It is not possible to create modal browser window (AFAIK supported by IE only)."
Therefore, I will pursue another way - perhaps by using WDPortalNavigation.
I will be closing this thread.
Kind Regards
RD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use thhe below code to create a modal window
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
// set the WindowPosition on the screen
window.setWindowPosition(300,125);
// and show the window window.show();
// Save WindowInstance in Context
wdContext.currentConfirmationPopupElement().setWindowInstance(window);
Thanks
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RD,
just go throught this link, it has all the details.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/0f/134540631d6f13e10000000a1550b0/frameset.htm
Thanks
Anup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you are looking to launch a new application with Web Dynpro component on a new window:
Write an action when to launch a new application, when the user click on specific action you can call the applciation URL in a new window as below:
public void onAction(com.sap.xyz.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onAction(ServerEvent)
StringBuffer strB = new StringBuffer("/webdynpro/dispatcher/xyz.com/abxyztest/TestApp");
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strB.toString(), "Test");
window.show();
//@@end
}
Thanks
Krishna
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H,
try this !
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(url, nameOfWindow, true);
regards
g.werner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gunter
Thank you for your response.
I have already tried :
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(url, nameOfWindow, true);
Though this does not make the window modal. I have also read that the 3rd parameter which represents boolean modal should always be false(im not sure why).
I have decided to use some javascripting - though still investigating the best way or perhaps navigating from one framework to another..
Thank you
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.