Hi Clement,
Will work with no problem, I have done for my internal use a lot of
wrappers to native JS so there is no
diff, JAVA here gets just compiled to js.
If you stay in the same window(no new tab or so) this will work,
you can name the methods what ever you like,
this will also work:
Hi,
Hi Blaze,
Can I use your idea in the below situation
I have a Search component which renders the search box.
This Search component is used by module A and also by module B.
Can I use the setter and getter method of native javascript in the search
box component and invoke it in the same comp
Hi Blaze,
Can I use your idea in the below situation
I have a Search component which renders the search box.
This Search component is used by module A and also by module B.
Can I use the setter and getter method of native javascript in the search
box component and invoke it in the same component
Hi,
just like Thomas said, u can use any of this ways dipending on the req.
I had a req. where the two modules run in the same window and I used a JSNI
methods
module A
public static native void setMessage(JavaScriptObject message) /*-{
$wnd.myMessage = message ;
}-*/;
public static na
Are they loaded
- simultaneously/concurrently on the same page? => use JSNI or
gwt-exporter to export methods so that module A can call into module B (and
vice versa); use JavaScriptObjects to pass objects (rather than just
primitives and strings).
- simultaneously/concurrently i
Hi All,
I have the below requirement.
Currently we have two modules a.gwt.xml and b.gwt.xml and I have a scenario
where the text entered in module A to be passed to module B.
I don't want to prefer the Cookie and Server side Session options.
Please share your ideas on how to pass messages betwe