开发者

How to build GWT standalone offline application?

开发者 https://www.devze.com 2023-01-31 09:59 出处:网络
I need to design SPA with GWT technology, but I do not understand clearly how to make (compile) only one page with all JavaScript code in it.

I need to design SPA with GWT technology, but I do not understand clearly how to make (compile) only one page with all JavaScript code in it.

So, for example my task is to make simple page with button and div. You click on button and div appears on page开发者_运维问答. Simple. When I did this on GWT, I can not find a way to compile this page in simple index.html with all JS code inside (or in one .js file). Page should work in offline mode.


GWT do it for you. compile it to one .js file?

Here is simple tutorial http://code.google.com/intl/en/webtoolkit/doc/latest/tutorial/gettingstarted.html

If you have any other question, please ask

and have a look at this.allyou need is here

http://www.vogella.de/articles/GWT/article.html


Try Gears with GWT from google here the specs: http://www.slideshare.net/tom.peck/going-offline-with-gears-and-gwt

0

精彩评论

暂无评论...
验证码 换一张
取 消