Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Jens, Thanks .. this seems to work: @JsType(isNative = true, name = "Checkbox", namespace = "checkbox") public class SUICheckbox extends JQueryContext { ... @JsType(isNative = true, name = "Object", namespace = GLOBAL) public static class SettingsClass {

Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Jens, So how do I create an instance of it? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group,

Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Jens
I think your Settings class should have @JsType(isNative = true, namespace = GLOBAL, name = "Object") to make it a JavaScript object literal. -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Hi all, I need to interface with JQuery API that looks like this: http://semantic-ui.com/modules/checkbox.html#/examples $('.callback.example .checkbox') .checkbox() .first() .checkbox({ onChecked: function() {...}, onUnchecked: function() {...},