Clicking too fast ...

Forum to discuss the Web client version of Servoy.

Clicking too fast ...

Postby martinh » Tue Sep 22, 2009 9:26 am

Hello,

When clicking too fast in webclient (2 times a double click on a link where a single click is enough) the webclient gives to following errorpage

Internal error

Return to home page


When using the back button of the browser, then you return to the page where I wanted to be.

Is there a way that I can avoid this internal error message?

Martin
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Clicking too fast ...

Postby jcompagner » Tue Sep 22, 2009 10:00 am

what does that first click do?

We do have double click detection, so why that doesnt work for you is strange.

if you have an example, create a case with it.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8839
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clicking too fast ...

Postby ngervasi » Tue Sep 22, 2009 1:27 pm

Johan, do we have double click detection in webclient?
I remember I had a similar issue years ago but it was promptly fixed, maybe it resurfaced again recently.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Clicking too fast ...

Postby martinh » Tue Sep 22, 2009 1:39 pm

Yes there has been a fix. If you look at the webpage source, you can see some function call testDoubleClickId() on Servoy form Label/Button elements.

In my case it is a generated HTML-block with an onclick event and that is giving the problem.
I have a HTML-field containing the following:

Code: Select all
<a href="javascript:globals.gotoArticleDetail(1140)">MyArticle</a>


and double click on such a link, gives also internal error.

Case #244043 has been added.
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 4 guests