0

How to close the Browser Window Tab using ZK framework? [closed]

asked 2020-04-09 13:59:02 +0800

rsheth gravatar image rsheth
103 2

Hello All,

I need to close the Browser Window Tab, please note not the window widget but the Browser window tab, using ZK framework version CE-9.0.0.

I have already tried the following code segments but no luck:

Clients.confirmClose(null);
Executions.deactivate(page.getDesktop());
page.setComplete(true);
page.removeComponents();
page.invalidate();

Is there any API or way to achieve this using ZK and/or JavaScript?

Is there any way to get the reference to the browser window tab, so that it can be closed programmatically, in ZK and/or JavaScript?

Please note: This window tab is opened manually & not by JavaScript or any other program.

Thanks,

RAS

delete flag offensive retag edit

The question has been closed for the following reason "duplicate question" by cor3000
close date 2020-04-14 13:52:25

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-14 13:52:09 +0800

cor3000 gravatar image cor3000
5250 2 7
ZK Team

duplicate question on stack overflow

link publish delete flag offensive edit

Question tools

Follow
2 followers

RSS

Stats

Asked: 2020-04-09 13:59:02 +0800

Seen: 10 times

Last updated: Apr 14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More