Re: Using JsInterop to create JS object literals

2022-06-28 Thread Michael Conrad
try adding name = "Object" so that it uses an empty javascript Object as the wrapped item. I found this via Googling: @JsType(namespace = JsPackage.GLOBAL, isNative = true, name = "Object") public class MyPluginConfig { @JsProperty public void set(String str); @JsProperty public

Using JsInterop to create JS object literals

2022-06-28 Thread Nicolas Chamouard
Hello, I am using JsInterop to integrate FullCalendar to my GWT application. As described here https://fullcalendar.io/docs/initialize-globals, I am supposed to create an object literal and pass it to the Calendar() constructor. I have managed to create this class : @JsType(*namespace* =

Re: Using JsInterop to create JS object literals

2022-06-28 Thread Nicolas Chamouard
Yes, it does not change anything : @JsType(*isNative*=*true*, *namespace* = JsPackage.*GLOBAL*) *public* *class* OptionOverrides { @JsConstructor *public* OptionOverrides() {} @JsProperty *public* *native* String getInitialView(); @JsProperty *public*

Re: Using JsInterop to create JS object literals

2022-06-28 Thread Michael Conrad
Have you tried giving the class a constructor? On Tue, Jun 28, 2022 at 4:04 PM Nicolas Chamouard wrote: > Hello, > > I am using JsInterop to integrate FullCalendar to my GWT application. > As described here https://fullcalendar.io/docs/initialize-globals, I am > supposed to create an object

Re: What are legal "user.agent=" values?

2022-06-28 Thread mmo
Thanks for responding and clarifying this! Unfortunately, we are using some library which obviously tries to set an outdated value and so I now end up in: ... [INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhquest-web --- [INFO] Loading inherited module

Re: Install GWT plugin for Firefox26

2022-06-28 Thread Thomas Broyer
Well it should be downloadable at https://dl-ssl.google.com/gwt/plugins/firefox/gwt-dev-plugin.xpi (link from the error page that should appear in Firefox; copy/paste to another browser for download, then install it in Firefox) On Tuesday, June 28, 2022 at 8:17:32 PM UTC+2 Ben Shapiro wrote:

Re: What are legal "user.agent=" values?

2022-06-28 Thread mmo
For the sake of others running into the same issue: I was able to fix the the above issue causing the error "Value 'ie8' in not a valid value for property 'user.agent'" by providing my own version of the ".../com/sencha/gxt/core/Core.gwt.xml"-file (the original is in gxt-4.0.2.jar) in which I

Re: Install GWT plugin for Firefox26

2022-06-28 Thread 'Ben Shapiro' via GWT Users
We have the gwt-dev-plugin-1.26-rc1.xpi plugin here in our office. I am happy to give you a copy if you want. Then you can manually install it on your old version of Firefox. You can reach me at bshapiro @ qvera.com. Thanks. On Friday, June 24, 2022 at 3:29:44 AM UTC-6 dis0...@gmail.com