Arvind
Arvind

Reputation: 6474

gwt/smartgwt beginner- code works correctly in dev mode, but compiled html file does not display correctly

I am working to create a simple html app using a sample from the Smart GWT Showcase, specifically from the drag and drop section.

While the html file displays correctly in dev mode, when I actually try to run it directly from the war directory, a blank screen is shown (in IE/Firefox and Chrome).

Why is this happening? How do I tackle this correctly? Do GWT/Smart GWT developers routinely face such a problem?

Upvotes: 0

Views: 583

Answers (1)

Jasper Sprengers
Jasper Sprengers

Reputation: 531

Many things could have gone wrong. The first thing I advise you to do is check the error console of your browser for any warnings/errors.

  • Did you run the GWT compiler and did it finish correctly?
  • Did it produce all the .cache.html files and *.gwt.rpc files?

Upvotes: 1

Related Questions