This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Display of popup screen in Portlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Display of popup screen in Portlets" Watch "Display of popup screen in Portlets" New topic
Author

Display of popup screen in Portlets

Suhas Saheer
Greenhorn

Joined: Mar 23, 2009
Posts: 17

Hi,

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 ?

Thanks in Advance,
Suhas


Thanks and Regards,
Suhas Saheer
sven pardo
Greenhorn

Joined: Jun 18, 2010
Posts: 1

try this, just change the "contentNode"


 
Don't get me started about those stupid light bulbs.
 
subject: Display of popup screen in Portlets
 
Similar Threads
Prevent opening page in new window
permission denied error
Check if popup window is already open from parent window?
window.focus() or Adobe plug-in?
Print the main page after confirmation page is closed