Author |
Message |
27/04/2018 01:49:52
|
vadingding
Power User
Joined: 14/07/2017 13:26:37
Messages: 145
Offline
|
Hi Captain,
I am using JSHOWURL component to open an customer display to my POS. (It opens another browser tab, then we just drag it to the second monitor)
But our challenge is, we can't communicate those two tabs. Is there a captain casa way for this ? Maybe the mapping or etc.. Help would be much appreciated.
Regards, Vincent
|
|
|
27/04/2018 03:45:43
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
is the tab/browser that you open a CaptainCasa dialog, or is it some other dialog.
If CaptainCasa: you might communicate through LONGPOLLING (i.e. both dialogs are synced by server eventing).
I am not sure if there is a way to commuinicate on browser side from one browser to the other but rather assume that they are sandbox-isolated. If you know better: please tell us, of course!
Regards! Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
27/04/2018 06:32:47
|
vadingding
Power User
Joined: 14/07/2017 13:26:37
Messages: 145
Offline
|
If we use CaptainCasa dialog, we can't drag the dialog to the second monitor. Because of that, we used JSHOWURL to open a new browser tab, how can we connect those two tabs ? Help would be much appreciated. Please ? haha
Regards, Vincent
|
|
|
27/04/2018 07:34:43
|
brandt
Power User
Joined: 12/03/2008 16:37:34
Messages: 45
Location: Bern
Offline
|
Maybe you could use clienthhtpsender and clienthttpreceiver to communicate between those two tabs.
But i think it is a very complicated way of communication.
Regards
Joe
|
|
|
27/04/2018 13:02:03
|
rspiller
Power User
Joined: 20/04/2012 07:37:01
Messages: 59
Offline
|
It would be a quite nice feature for "certain" scenarios.
Maybe it will be implemented in the future.
In the "old" swing-client we had this feature (popup out panes) and some user are using it.
There are also Ways to achive this in HTML
https://stackoverflow.com/questions/5277482/can-i-control-two-browser-windows-with-one-html5-app
example: http://jsfiddle.net/josh3736/avjeX/
|
|
|
27/04/2018 13:11:45
|
vadingding
Power User
Joined: 14/07/2017 13:26:37
Messages: 145
Offline
|
Thanks everyone!
|
|
|
|