I fixed this issue with following: (1) CoreRenderKit.returnFromDialog will render only close(): out.write("<script>"); out.write("top.close()"); out.write("</script>");
(2) FredJSP.service will render call of callback in onunload: String callback = "'ADFDialogReturn[" + returnId + "]();'"; frameSet.setOnunload("_checkUnload(event); window.opener.setTimeout(" + callback + ",0)"); This works for me, but I'm not trinidad dialog expert. Can you review this solution? Btw. what does "Fred" mean? (FredJSP.java) Thanks Martin Martin Koci píše v St 11. 10. 2006 v 13:03 +0200: > Hello, > > I'm trying to fix this issue but I don't understand how is parent window > refreshed after return from dialog. Which js function is responsible ? > > I found: > if (closeCallback) > { > _setDependent(parentWindow, windowName, closeCallback); > } > > in Window.js. > > Can you give me some ideas how and where (in code) fix this issue? It is > critical, because our customers really like alt F4. > > Thanks for any info, > > Martin > >