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.
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
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
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
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
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
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