David
I don't know if you have answered your question yet, but it sounds like this could be a jscript error.  I don't have your source code, but if you are using the target property to launch the window, and then close it with script you are going to have problems.  

From the client-side _javascript_ reference :
"The close method closes only windows opened by _javascript_ using the open method. If you attempt to close any other window, a confirm is generated, which lets the user choose whether the window closes. This is a security feature to prevent "mail bombs" containing self.close(). However, if the window has only one document (the current one) in its session history, the close is allowed without any confirm. This is a special case for one-off windows that need to open other windows and then dispose of themselves."

Since your code exhibits this behavior, I would imagine that this is the problem.  To solve this, use the JSModalDialog component instead, specify a target, and you can assign an action if you want to.  (hint: it is kind of cool to have <body > in the body to have the window automatically disappear if the user returns to the main window.)

John

On Jul 24, 2006, at 3:46 PM, David Holt wrote:

I am using a pop-up window to edit an EO (target="_blank").

The pop-up window contains a WOTabPanel.

If I call the window.close() function before the browser has left the first panel, the edit window closes and returns to my search results list page. If I create any sort of history on the page by selecting one of the tab panels before saving or canceling, the close link just reloads the page. Is there a way in WebObjects to prevent a browser page history from being created or to empty the browser's page history before calling the window.close(); ?
Thanks,

David

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to