Author |
Message |
07/04/2017 09:42:07
|
msailer
Power User
Joined: 22/06/2015 12:17:44
Messages: 112
Offline
|
Hi there,
we have different behavior on Rich and Risc client.
We're opening a modeless popup like:
Code:
openModelessPopup((IPageBean) m_messagePopupBean, "", width, height, popupListener);
for the Rich client the popup disappeared after a few milliseconds when the mouse is moved. For the RISC client that's no longer happening. The popup stays there.
I know we could add:
Code:
popup.setCloseonclickoutside(true);
popup.setCloseonmouseexit(true);
as a workaround but would it be possible to get the same behavior as with the rich client?
|
|
|
11/04/2017 04:42:17
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5534
Offline
|
Hi,
this seems to me like an error in the Swing-client. A modeless popup should not just close itself without good reason.(?)
So the RISC client seems to behave correct here. I say "seem" because I do not 100% know the scenario...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
11/04/2017 06:49:02
|
msailer
Power User
Joined: 22/06/2015 12:17:44
Messages: 112
Offline
|
Hm.. Not sure if we actually made this work for the rich client. We have something like:
Code:
<form id="_id0" method="post" action="myAction"
enctype="application/x-www-form-urlencoded">
<reloadtimer duration="10000"/>
<row id="eror_r0">
<pane id="g_0" height="10%" width="100%" />
</row>
<row id="eror_r1">
<pane id="g_5" height="60%" width="15%" />
<scrollpane id="error_p1" width="70%" height="75%" bgpaint="rectangle(0,0,100%,100%,#0085b6)" border="#000000" padding="20" rowdistance="20" iswindowmover="true">
<row id="error_r1">
<label id="error_l1" text="@@title@@" font="size:24" foreground="#ffffff"/>
</row>
<row id="error_r2">
<textpane id="error_t1" width="100%" text="@@text@@" font="size:14" foreground="#ffffff"/>
</row>
</scrollpane>
<pane id="g_2" height="100%" width="15%" />
</row>
<row id="eror_r2">
<pane id="g_3" height="30%" width="100%" />
</row>
</form>
and the jnlp has this argument:
Code:
<argument>clienterrorscreen=path/to/that/xml/somexml.xml</argument>
Can it be that this piece of code does that for the rich client?
|
|
|
11/04/2017 07:34:14
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5534
Offline
|
...got it, it's the server side error page that you mean... - I just check...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
11/04/2017 08:26:08
|
msailer
Power User
Joined: 22/06/2015 12:17:44
Messages: 112
Offline
|
Ah no.. It was just a guess from me. I'm talking about the general Success popups we have. They're modeless popups. Ben from our team said that we were able to say "when the mouse moves 5px -> close popup". Maybe that functionalty isn't working on RISC client?
|
|
|
11/04/2017 09:00:35
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5534
Offline
|
Hi,
oh yes in Swing we had something like this for "lightweight popups", I begin to remember... ;-) ...just checking...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/04/2017 06:18:42
|
msailer
Power User
Joined: 22/06/2015 12:17:44
Messages: 112
Offline
|
Any news on this item?
|
|
|
21/04/2017 15:02:45
|
msailer
Power User
Joined: 22/06/2015 12:17:44
Messages: 112
Offline
|
Now functional with Code:
popup.setCloseonmouseactivity(true);
Than k you!
|
|
|
|