[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
POS Customer Display  XML
Forum Index -> Development
Author Message
vadingding

Power User
[Avatar]

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
CaptainCasa

Power User
[Avatar]

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
vadingding

Power User
[Avatar]

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
brandt

Power User
[Avatar]

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
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/
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Thanks everyone!
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team