gwt

Resty-GWT custom callback on async start and end

感情迁移 提交于 2019-12-21 20:49:07
问题 I use resty gwt for all server communication. I would like some indicator that would show the operation is in progress. I consider 2 aproaches: progressbar, which will show in progress percentage; animation, that will be showed while operation is in progress, but without any percantage. I've assumed that I need to add custom filter with callback. I would like to fire events like: RestyGwtComunicationStart and RestyGwtComunicationEnd , or callback to fire onComunicationStarted and

GWT mobile cross-platform drawing performance

感情迁移 提交于 2019-12-21 20:37:01
问题 I have some ideas for some games that I would like to develop for several mobile platforms. Rather than messing with a different language for each platform I would like some unified platform to go as far as possible on each device. GWT seems like it would fit the bill for me since I'm more experience in Java. Obviously for cross-platform Javascript seems to work on each device, mostly everything on the market being Webkit (with the exception of WP7). I'm not looking for hardcore 3D

GWT compiler can't find sources of depending module in IntelliJ IDEA

丶灬走出姿态 提交于 2019-12-21 20:35:59
问题 I'm using IDEA 117.216 It would be great if CrazyCoder sees this question :) How do you guys reference another module so GWT compiler sees it ? When I say module I mean module in IntelliJ IDEA's terminology. Here is my situation. I have midside project (GAE + GWT + RequestFactory). Now I created Android module in my project. The idea is that it will use C2DM and talk to the server via RequestFactory (RF). So naturally I created 3rd module within my project and moved all RF proxies and

GWT with Charts API example from Google not working

≯℡__Kan透↙ 提交于 2019-12-21 20:35:12
问题 I have downloaded http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-visualization-1.1.0.zip&can=2&q= archive that comes with jar that is needed in order to use charts in GWT. In the archive is also example application (http://gwt.google.com/samples/hellovisualization-1.1.0/HelloVisualization.html). But this example is not working for me. It has an runtime error at this line: DataTable data = DataTable.create(); Eclipse reports this: com.google.gwt.core.client

Using atmosphere for GWT Comet

六月ゝ 毕业季﹏ 提交于 2019-12-21 20:28:03
问题 I was looking for a simple framework for implementing Comet for my GWT application. I looked on gwt-rocket which seems to be non active, then on gwt-comet which is not active, then on atmosphere-gwt-comet which was moved into the atmosphere project, and finally - tried to actually download the gwt sample from atmosphere and work with it. :| I added the atmosphere-gwt-server and atmosphere-gwt-client modules (version 0.8.6) to my project and tried to make the existing atmosphere sample to work

GWT Unordered List with List Items

僤鯓⒐⒋嵵緔 提交于 2019-12-21 20:26:14
问题 I am completely stuck with the creation of a css driven menu in gwt. In the rendered result it should look exactly like this: <div class="topbar"> <div class="container fixed"> <h3> <a href="" class="logo">test</a> </h3> <ul class="nav secondary-nav"> <li class="menu open"> <a class="menu" href="#">Dropdown</a> <ul class="menu-dropdown"> <li><a href="">Secondary link</a></li> <li><a href="">Something else here</a></li> <li class="divider"></li> <li><a href="">Another link</a></li> </ul> </li>

Is there a PHP web toolkit similar to Google Web Toolkit? [closed]

两盒软妹~` 提交于 2019-12-21 20:25:49
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I've been playing with GWT lately, and I like the idea a lot. The only downside for me is Java, which I'm not a big fan of. (Please

Tooltips for GWT tree: adding mouseovers to nodes

夙愿已清 提交于 2019-12-21 20:11:22
问题 I'm trying to add tooltips for the nodes of a Tree in GWT. As such, I'd like to add a mouseover listener for the nodes of a tree rather than on the tree itself. The Treelistener interface seems to be what I want but this is now deprecated in lieu of the handler system. I don't quite understand how to get mouseover behaviour on the cell as I only seem to be able to add a MouseOverHandler to the tree itself. Any help would be appreciated, thank you. 回答1: A TreeItem can contains a Widget object.

GWT simple web form submit - redirect to new page

白昼怎懂夜的黑 提交于 2019-12-21 18:04:28
问题 I have a simple web form written in Google web toolkit. I want the user to follow a new URL when he clicks on the submit button. However I cannot find any examples of redirecting the user to a new URL from within GWT code. How may I achieve this? 回答1: To redirect the user to a new page, use Window.Location.assign(). To have this happen when the user submits the form, use FormPanel.addSubmitHandler() , or addSubmitCompleteHandler() to have the redirect happen when the form submission is

GWT support for HTML5

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 17:42:43
问题 Does GWT support HTML5? I mean especially Canvas and WebSockets? Regards 回答1: Maybe this video (from Google developers) can be of interest http://www.youtube.com/watch?v=aW--Wlf9EFs 回答2: Most browsers still do not support these technologies without plugins, therefore direct support is not available. WebSockets requires support from the server also, once again most servers do not support it yet. for WebSockets in GWT You could download this and use it: http://code.google.com/p/gwt-websockets/