on 05-20-2008 11:26 AM
Hi,
I am working on EP7 SP 15.
I am trying to create a popup window but I have the following error:
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Parameter windowInfo must not be null.
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createModalWindow(ClientComponent.java:1028)
at popapp.PopAppView.onActionCreatePopup(PopAppView.java:150)
at popapp.wdp.InternalPopAppView.wdInvokeEventHandler(InternalPopAppView.java:148)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
The source code of my methods is:
IWDWindow myPopup = wdContext.currentPopupNodeElement().getPopupAttribute();
if (myPopup == null)
{
IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopWinView");
myPopup = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
wdContext.currentPopupNodeElement().setPopupAttribute(myPopup);
}
myPopup.show();
Can anyone tell me what is wrong in my source code ?
Thanks q lot for your help....
Hi,
Have you already create the window "PopWinView" ?
This window must be created.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it is a window, it is working now !!
Thanks guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But should I create a view or a window ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes the window has already been created....
Any other solution ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
this is due to two reasons
1. u have not created this window .
IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopWinView");
so create this first.
and 2. the name of window is not spelled correctly.
Regards
Trilochan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
From Webdynpro explorer , if you navigate to windows and expand this are you able to see "PopWinView"?
If not create a window and embed the respective view.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Have you Created " PopWinView " window , if not create the window and then check
Best Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.