I didn't know that, are there bug reports I could get the details from?
On Friday, February 5, 2016 at 5:23:42 AM UTC, Stepan Koltsov wrote:
>
> Except there are lots of things that are not possible via jsinterop. (Or
> maybe possible, but hard to find how to do it).
>
> For example:
>
> * JsArra
Except there are lots of things that are not possible via jsinterop. (Or
maybe possible, but hard to find how to do it).
For example:
* JsArray still requires type parameter to extend JavaScriptObject, so you
cannot work with cannot work with arrays of @JsType
* you cannot do index without JSN
NB JSNI is being replaced by JsInterop... it is much nicer so if you are
starting new code I'd strongly recommend you use it rather than JSNI.
On Sunday, January 10, 2016 at 8:00:30 AM UTC, Gourab wrote:
>
> Let me understand your question.
>
> - You have a GWT application, where you want to expo
Let me understand your question.
- You have a GWT application, where you want to expose few functionality/UI
via JavaScript Api.
If thats what you want to achieve:
- Can you check if you have in
the gwt module where the API is exposed ?
- I dont think you need to prefaced anything with $wnd
Re
I never got a response to this. Anyone know if this is an issue?
Any help would be appreciated.
Thanks,
Eric
On Tuesday, December 29, 2015 at 5:55:28 PM UTC-5, Eric Nissan wrote:
>
> I am using JSNI to reference a javascript library. My initial call is
> fine, but then somewhere down they cha
I am using JSNI to reference a javascript library. My initial call is
fine, but then somewhere down they chain I get a null pointer inside the
javascript library.
I am referencing the library like this
$wnd.TradingView.widget({});
which is a valid reference.
This then seems to load in othe
On Thursday, December 20, 2012 1:10:00 AM UTC+1, EMan wrote:
>
> How do I call a JSNI method from another JSNI Method? for example, how
> can I get something1 to call something2?
>
> public static native void something1() /*-{
> something2();
> }-*/;
>
> public static native void something2(
How do I call a JSNI method from another JSNI Method? for example, how can
I get something1 to call something2?
public static native void something1() /*-{
something2();
}-*/;
public static native void something2() /*-{
$wind.alert("something2");
}-*/;
Thanks.
--
You received this messag
Is there a way I can get the obfuscated name of a JAVA object's field
from within a JSNI method? I can get the actual value by using:
[instance-exp...@class-name::field-name
but what I want is just the @class-name::field-name as a string. The
compiler gives an error if I omit the instance express
Try
private native void publish(MyWidget widget) /*-{
$doc.myFunction =
widg...@com.myco.myapp::myMethod()();
}-*/;
Then within the actual page, document.myFunction()
On Sat, May 23, 2009 at 1:43 PM, BR wrote:
>
> For a reasons too long to explain here, my app is currently getting
> d
For a reasons too long to explain here, my app is currently getting
deployed in an iframe. I need to use JSNI to set up a JavaScript
callback into my application. Both the iframe and the enclosing doc
are loaded from the the same docbase, so there should be no security
issues.
private native
On 22 mar, 20:51, DanG wrote:
> public native Document getFrameDocument()/*-{
> var panel =
> th...@com.gwtext.client.widgets.component::getOrCreateJsObj()();
> var doc = panel.getFrameDocument();
> //alert(doc);
> if (doc)
> return doc;
>
public native Document getFrameDocument()/*-{
var panel =
th...@com.gwtext.client.widgets.component::getOrCreateJsObj()();
var doc = panel.getFrameDocument();
//alert(doc);
if (doc)
return doc;
return null;
}-*/;
if in my native javascr
Hi,
I need to create my own date class to handle UTC. When I try to
construct a MyDate object,
I get a "java.lang.NoSuchFieldError: mydate" exception in this code:
private native void init(double date) /*-{
this.mydate = new Date(date);
}-*/;
Anybody know why?
thanks for any help
-Ben
Hi,
I need to create my own date class to handle UTC. When I try to
construct a MyDate object,
I get a "java.lang.NoSuchFieldError: mydate" exception in this code:
private native void init(double date) /*-{
this.mydate = new Date(date);
}-*/;
Anybody know why?
thanks for any help
-Ben
Hi,
I need to create my own date class to handle UTC. When I try to
construct a MyDate object,
I get a "java.lang.NoSuchFieldError: mydate" exception in this code:
private native void init(double date) /*-{
this.mydate = new Date(date);
}-*/;
Anybody know why?
thanks for any help
-Ben
16 matches
Mail list logo