0

Popout ZK Tab to Browser [closed]

asked 2018-05-23 21:11:57 +0800

fthoma gravatar image fthoma
1

updated 2018-06-06 15:19:21 +0800

Hello everyone,

I'm trying to find a way, to create a new browser tab and display a single panel in there. The panel should be able to interact with the rest of the application like before, from what I could understand in the GUI what I need is a new page, containing the panel, displayed in a new browser tab. I assume that, as I have to stay in the same Session and there can be only one Desktop per Session.

I could not find anything anywhere about this topic. Windows do not work, as I need the window to be detached from the browser, the URL stays the same and a user cannot connect to the application twice.

Help would be appreciated. To me it looks like it's not possible, if anyone can validate that I'd be happy as well. Using zk8.5.0

delete flag offensive retag edit

The question has been closed for the following reason "question is not relevant or outdated" by cor3000
close date 2018-06-06 15:43:56

Comments

There can be more desktops in a session

chillworld ( 2018-05-24 02:45:14 +0800 )edit

Ok thanks for the answeres. After trying around for a bit I realized I did not phrase my question right: I need to open a new browser tab/window and display a ZUL from within the same session as the main application. And I can't figure out how to open the new tab within the same session.

fthoma ( 2018-06-04 20:09:08 +0800 )edit

hmm by default a new browser tab will use the same cookies (including the JSESSIONID cookie) so the new tab should implicitly be part of the existing session. However there are plugins for everything, also those that prevent sharing cookies between browser tabs.You might just have to deactivate them

cor3000 ( 2018-06-05 09:56:30 +0800 )edit

I don't use any plugins in my browser but I am unsure about the ZK application. It's a huge project I am working with, but none of the developers now enough about this technical side of zk. The headaches just start with this popup/session problem. Guess I just keep lookin, thanks for te help!

fthoma ( 2018-06-05 14:45:54 +0800 )edit

But you are able to open the new tab or you need the code for that?

chillworld ( 2018-06-06 02:54:53 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-25 15:40:42 +0800

cor3000 gravatar image cor3000
6280 2 7

updated 2018-05-25 15:41:47 +0800

As chillworld already pointed out, it is a standard case in ZK to have multiple Desktops in a Session, 1 for each browser-tab / iframe.

Communication between desktops can then happen using a Session scoped Event queue:

A simple alternative is to store shared information in the session, both Desktops then have access to this information (as always be careful about concurrent access).

It is possible to limit the number of Desktops per session (default 15) - You can check your zk.xml whether this is the case giving you the impression multiple desktops are not possible.

Robert

link publish delete flag offensive edit

Question tools

Follow
3 followers

RSS

Stats

Asked: 2018-05-23 21:11:57 +0800

Seen: 18 times

Last updated: Jun 06 '18

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