This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a web application, where we had to open a popup from parent page, search for users, select one user and click ok.
The selected user will now be displayed on the parent page.
The code used to open the popup window is as follows
var url = "searchPage.xhtml";
var popUp = window.open(url,"POPUP","width=680,height=450,scrollbars=yes,menubar=yes,resizable=no");
This code works fine
But now I've migrated the application to a Portlet in WebSphere Portal Server.
I didnt make any change to the above code.
Now when i click on the command button, a popup window opens but displays nothing but the following error message
Error 400: EJPEI0088E: The resource searchPage.xhtml could not be found.
Can any body tell me whether i used the right way to open the popup?
Is it different in WAS & WPS ?