Questions tagged [gwt-exporter]
8 questions
17
votes
2 answers
Calling GWT Java function from JavaScript
I am a newcomer to GWT and JavaScript.
There are similar question of this type I have tried to follow, but I keep failing.
I have a GWT app, I need to call a Java function from Javascript( on the onclick of a href tag, in particular.) Following is…

frodo
- 1,561
- 3
- 21
- 36
3
votes
2 answers
GWT-exporter. Working example
I have a Java lib and I need to convert it to JS. I found the solution GWT to create utility javascript library to use gwt-exporter. I never used GWT before. I tried GWT-exporter. Getting started but it's not clear how to use it. Simply how to run…

PaintedRed
- 1,398
- 5
- 19
- 30
1
vote
2 answers
GWT: gwt-exporter: passing objects
I've been struggling with passing Java objects from Java through JSNI (gwt-exporter generated) into Java and wonder if anybody can help?
I am creating an object in Java ("Person"), passing it to a JSNI method ("displayPerson") that invokes a Java…

manstis
- 123
- 1
- 7
1
vote
0 answers
Port Java library to iOS using GWT
I've created the code to sign bitcoin transactions using bitcoinj lib. I need the same functionality on all kind of devices: browser, server-side, android, ios, windows phone. I made some research and found GWT-export tool. So I can create pure JS…

PaintedRed
- 1,398
- 5
- 19
- 30
1
vote
1 answer
Exporting a class and its methods in GWT for use in native JavaScript
I'm developing a GWT project at the moment and it's been up and running for a while. New functionality that is to be added require extensive testing, visualizing and simulating of a specific algorithm. I would like to export that specific algorithm…

Lichtblitz
- 213
- 2
- 10
0
votes
2 answers
GWT exporter cast exception from GWT.create; Tried to use mvp4g with GWT-Exporter but GWT.create didn't work
I tried to use GWT-Exporter and it worked just fine when I copied the example. Then I tried to export an mvp4g Presenter
Here's what I did:
@Export()
@Presenter(view = RegisterPluginDisplay.class)
public class RegisterPluginPresenterImpl extends…

jgleoj23
- 262
- 2
- 9
0
votes
2 answers
How to communicate two modules in GWT
I have created two module name module1 and module2 in gwt application. I want to pass message from module1 to module2 and module2 to module1 simultaneously after some seconds.
I write the following code, but it gives me error unable to find…

Malav Soni
- 23
- 6
0
votes
2 answers
GWT - passing Java arrays to Javascript
I am a newcomer to GWT and Javascript.
I am trying to send in a java int[] to my javascript function. I am using a gwt-exporter to handle the processing for me. This is how I have set things up.
static class gwtExplorerTest implements Exportable {
…

frodo
- 1,561
- 3
- 21
- 36