Re: GWT 2.8.0 released

2016-11-29 Thread GAURAV GUPTA
Hi Daniel, I am using GWT 2.8.0 and using -generateJsInteropExports with Polymer to access GWT elements, however I was able to get it successfully with 2.8 RC2 but getting error with 2.8 final version, gwt-elements.html:72 Uncaught ReferenceError: com is not defined(…)attached @ gwt-elements.

GWT RC2 with Polymer: Issue while calling click handler from Java.

2016-10-05 Thread GAURAV GUPTA
Hi All, I am using below code for creating my custom element, package com.test; import jsinterop.annotations.JsConstructor; import jsinterop.annotations.JsMethod; import jsinterop.annotations.JsType; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.Clic

Re: Not able to call handler defined using JSInterop

2016-10-04 Thread GAURAV GUPTA
I tried using existing one only but it was not working, so again added explicitly and tried but both ways it is not working. On Tuesday, 4 October 2016 16:02:38 UTC+5:30, GAURAV GUPTA wrote: > > Yes I use generateJsInteropExports and getting GXT exported and able to > add. > > T

Re: Not able to call handler defined using JSInterop

2016-10-04 Thread GAURAV GUPTA
Yes I use generateJsInteropExports and getting GXT exported and able to add. Thanks, Gaurav On Tuesday, 4 October 2016 15:41:44 UTC+5:30, Jens wrote: > > Is TextButton a @JsType and exports addSelectHandler()? Do you use > -generateJsInteropExports flag for SDM and compilation? > > I guess your

Not able to call handler defined using JSInterop

2016-10-04 Thread GAURAV GUPTA
I am trying to wrap GWT element and using it for creating custom element using polymer: @JsType(namespace = "test1") public class JsInteropExport { @JsConstructor public JsInteropExport(){ } @JsProperty public SelectHandler handler = new SelectHandler() { @Override public void on

Re: GWT 2.8 RC2 with Polymer : Creating custom element using JsInterop

2016-09-30 Thread GAURAV GUPTA
Thanks Thomas for quick response, do you see any example using GWT elements to create custom elements using Polymer. Regards, Gaurav On Friday, 30 September 2016 17:46:41 UTC+5:30, Thomas Broyer wrote: > > JsExport has been replaced by JsType, JsConstructor, JsMethod and > JsProperty; see > ht

GWT 2.8 RC2 with Polymer : Creating custom element using JsInterop

2016-09-30 Thread GAURAV GUPTA
As in link here : https://vaadin.com/blog/-/blogs/using-polymer-elements-in-gwt-development We are using JsExport annotation for creating and using/wrapping GWT element in polymer and creating custom element. But I think 2.8 RC2 is missing JsExport. can you please provide me solution if we can