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
The dialog plugin isn’t supported in webclient (yet),
It’s five years later. I am seeing same error in newest Servoy:
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)
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.