Search code examples
javazk

Zkoss - open url in browser's new tab


I want to open url in new tab, from server side. I'm using this line:

Executions.getCurrent().sendRedirect(url, "_blank");

This works perfect for Firefox but tries to open a new window in Chrome/IE. Is it possible to always open the url in new tab?


Solution

  • as Mikkel mentioned earlier this is, unfortunately, browser specific

    here is an answer from the developers