Hum...I'm not entirely clear how that maps to the java code. As I follow
that stack trace I think this comes down to this code:
public class LoadAdsPrepareGridPresenter {
private final ILoadAdsPrepareGridModel model;
private final ILoadAdsPrepareGridView view;
public LoadAdsPrepareG
I fixed this, but the behavior seems to be a bug.
I was making the request, and right after making it, I was calling some
code which does History.fireCurrentHistoryState(); to handle the current
url token (this happens on first page load, within the entryPoint).
So 1) making the request, then 2
I'm attempting to make an RPC request. The request is made successfully on
the server, and the output is returned, however neither of my
asyncCallback's methods (either onSuccess or onFailure) are called.
This is my code for making the request:
Console.debug("making request " + request)
GWT often (if not always) transforms methods that are not overridden into
static methods. Such static methods begin with a $ sign.
In your stack trace you can see Unknown.$getView is causing the exception
with message "Can not read property 'view' of undefined". That basically
means in your Jav
Jens beat me to the reply, so I'll just answer one of the questions:
how to update the app when either client side or server side code changes
> are made. Joe says to cycle tomcat...what does that mean?
Just CNTRL-C to kill the tomcat and then run *mvn tomcat7:run-war* to
recompile and redep
I'm getting the following error after SDM compiles my app and trying to
load it. What's causing this? Seems the compiler is generating invalid JS?
How can I resolve this? I can't debug my app anymore.
SEVERE: (TypeError) __gwt$exception: : Cannot read property 'view'
of undefined com.google.
When you make a change on client code you need to hit the DevMode On ->
Compile button again so that the CodeServer recompiles your app. GWT 2.7
with "compile per file" will make that a lot faster than GWT 2.6. You can
try compile-per-file when using GWT 2.7-SNAPSHOT from maven if you want. If
I too am trying to make sense of SDM and trying to get productive using
it...but it's not coming easy.
I like Joe's suggestion of running to console windows but I haven't had
great luck with the *Maven **GWT Plugin *to launch the app so I just use
IDEA to launch both servers...that part seems o
In GWT we need to use *#* in a URL to navigate from one page to another i.e
for creating history for eg. www.abc.com/#questions/10245857 but due to
which I am facing a problem in sharing the url. Google scrappers are
reading the url only before # i.e. www.abc.com.
Now I want to remove #