如何关闭Xpage中的窗口? [英] How do I close my window in Xpage?

查看:101
本文介绍了如何关闭Xpage中的窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上我使用以下代码关闭当前窗口:

Actually I am using the following code for closing my current window:

window.close()

问题是,它在IE中工作正常,但它在FF和Chrome中无效。

The thing is, it is working fine in IE, but it is not working in FF and Chrome.

这样做有什么好办法吗?

Is their any great solution for doing this?

推荐答案

window.close()有效在8.5.3中,但仅当父包含一个对象时,如果你有一个在普通Notes应用程序或普通视图中打开的xpage,它将不会这样做。你需要一个window.open才能得到这个。

window.close() works in 8.5.3 but only if parent contains an object and it will not do this if you have i.e an xpage that is opened inside an ordinary Notes application or a ordinary view. you need a window.open to get this.

我前一段时间对此进行过很多调查,但没有找到答案。我找到的唯一方法是你需要 Mindoo XPage2Esclipse插件让这个工作。

I have investigated alot about this a while ago but no luck finding an answer. The only way I found is that you need the Mindoo XPage2Esclipse plugin to get this to work.

这篇关于如何关闭Xpage中的窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆