wood burning stoves 2.0*
The moose likes JSF and the fly likes Popup window problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Popup window problem" Watch "Popup window problem" New topic
Author

Popup window problem

Rehana Shaik
Ranch Hand

Joined: Jan 03, 2003
Posts: 33
Hi,
I am having a page which opens a popup page when i click, first time everything is going fine. once the window is closed if again i want to open the popup window i am getting pagenot found exception in my parent page. Both my child and parent are jsf pages.

this is javascript in my parent form
_______________________________________________
popup=window.open('PopupList.jsp', "popup",
"height=500,width=350,toolbar=np,menubar=no,"+ "scrollbars=no");

if (!popup.opener)
popup.opener = self;
popup.focus();
return false;
_____________________________________________________________________
My child window code

------------------------------
window.opener.document.forms['form1'].elements['form1:field1'].value="aaaa";
alert("hello");
// document.forms['popupListForm'].submit();
window.close();
-----------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Popup window problem