cancel
Showing results for 
Search instead for 
Did you mean: 

popup window error must set parameter windowInfo

Former Member
0 Kudos

Hi Friends,

I am getting error as :- must set parameter windowInfo,when I am clicking on the link to view the Modal window.

I am providing the correct window name, btu still teh error coming.

any clue please.

-


IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI

.getComponentInfo()

.findInWindows("OrderPopupWindow");

-


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check if you are setting the windowInfo properly or not.


IWDWindow window = wdComponentAPI.getWindowManager().createWindow( <b><u>windowInfo</u></b>, true);

Bala

Former Member
0 Kudos

Hi Jayant and Bala,

there is nothing lookign as wrong name used to open teh window.

i think there is some other problem why do I get thsi error soemtimes and I dont get other times.

pls advise.

Former Member
0 Kudos

I think, two developers tried deploying same project on the server, even if the project name differs, but I htink applciation name was same, so it was a conflict.

is there anything to think this way?

Former Member
0 Kudos

i have the same confusing.

hoping......

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Nav,

No conflict, two Project name is different right, application name even if you give same that will be different. because webdynpro Iview namespace is based on

project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace. In the Application Name, enter the application name of your Web Dynpro Application.

Regards, Suresh

Former Member
0 Kudos

If it is not the case.. of project name conflict,

why sometimes I get null pointer exception for popup window.

Former Member
0 Kudos

Hi,

Please try using this piece of code.

Regards,

Jayant.

IWDWindowManager windowManager = wdThis.wdGetAPI().getComponent().getWindowManager();

// create a new popup Window instance

IWDWindowInfo popupInfo = wdThis.wdGetAPI().getComponent().getComponentInfo().findInWindows("OrderPopupWindow");