Dialog plugin problem

Forum to discuss the Web client version of Servoy.

Dialog plugin problem

Postby JayColey » Wed Jan 21, 2009 4:46 pm

Using the Dialog plugin is fine in smart client, but in web client fails with error to console:

"Can't use the dialog plugin in a none Swing thread/environment
> at /Users/jayc/WSfolder/ServoyClass/FirstDemo/globals.js:148 (tc2i)
at /Users/jayc/WSfolder/ServoyClass/FirstDemo/globals.js:194 (tcs2i)
at /Users/jayc/WSfolder/ServoyClass/FirstDemo/forms/field_test/field_test_methods.js:52 (tcin_delim)"

I'm using Servoy 4.1, build 562, Safari browser under OS X
JayColey
 
Posts: 10
Joined: Thu May 03, 2007 6:00 pm

Re: Dialog plugin problem

Postby Joas » Wed Jan 21, 2009 4:59 pm

The dialog plugin isn't supported in webclient (yet), but some users created their own dialogs to use in web, for example this one.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Dialog plugin problem

Postby JayColey » Wed Jan 21, 2009 5:20 pm

thank you.

Is there documentation or thread somewhere that lists which plugins work on the web browser?
JayColey
 
Posts: 10
Joined: Thu May 03, 2007 6:00 pm

Re: Dialog plugin problem

Postby sergei.sheinin » Thu Jun 12, 2014 9:31 am

>>The dialog plugin isn't supported in webclient (yet),

It's five years later. I am seeing same error in newest Servoy:

Code: Select all
Wrapped java.lang.RuntimeException: Can't use the dialog plugin in a none Swing thread/environment (C:\Users\Singtech\servoy_workspace\sergei_factory\forms\frm_task_comment_lst.js#80)
Last edited by sergei.sheinin on Thu Jun 12, 2014 11:09 am, edited 1 time in total.
Sergei Sheinin
JavaScript, RDBMS
http://js2dx.com
sergei.sheinin
 
Posts: 79
Joined: Wed May 07, 2014 3:22 pm

Re: Dialog plugin problem

Postby sovanm » Thu Jun 12, 2014 9:36 am

Hi Sergei,

Yes dialog plugin is not supported in web client. But we do have an alternative to it. We can use the dialog module which works in both web and smart client.

You can download the module from here and attach the same as module to your solution.

Find the details in the wiki page of this module.

Hope this helps.

Thanks,
sovanm
 
Posts: 99
Joined: Fri Oct 28, 2011 1:55 pm
Location: Bhubaneswar, India


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 3 guests