on 09-26-2008 11:57 AM
HI All,
I am new to web Dynpro's . I was going through this link
to create a Pop up window using web dynpro.
After I deployed and run my application . I got the starting page which is a button and when I click the button it should open the pop up window.
But When I click the button , I am getting this error:-
Error Description:
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:148)
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)
... 27 more
Kindly suggest.
Thanks adn Regards
Neha Mahanty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Neha,
Along with window name,Tike context mapping bhi chek kara.
Context mapping re bhi problem thaipare.
Regards
-Sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check this thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
Just see the following line of code :
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
Here the string parameter "PopWin" is the name of the window that you have created at design time to display the popup window. Please check if the parameter that you are passing here is the same as your window name and it is also case-sensitive.
Regards,
Tahzeeb.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
It might be a problem in creation of window in your action button implementation. Check your code fo creating modalwindow
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check Window name. This exception indicates window name is incorrect.
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.