gwt

422 Unprocessable Entity on Restlet ClientProxy and GAE Server

浪尽此生 提交于 2019-12-25 01:47:03
问题 I have a Front-end application on a separate domain that is communicating with the Restlet backend on a different domain. So far, CORS work properly and the only issue is the bean serialization. As I check the request it has this Accept type: application/x-java-serialized-object+gwt However for some reason I don't know when the backend runs on localhost my GWT app works fine in sending/receiving data to/from the backend (at localhost), but when the backend is deployed in GAE cloud (i.e.

How to save a photograph to MySQL from GWTUpload SingleUploader?

懵懂的女人 提交于 2019-12-25 01:45:31
问题 I am using Eclipse Juno and GWTUpload SingleUploader to select and display a photograph. There are a few minor issues however the next major thing to do is save the input to MySQL. So how do I now pass the photograph to MySQL. What I plan to do is store the photograph in a temp folder, pick it up from the temp folder when writing to the DB and then delete the photograph from the temp folder (clean up). I have the following code (copied from step 7 of https://code.google.com/p/gwtupload/wiki

Smartgwt DataSource with gwt requestfactory etc

痞子三分冷 提交于 2019-12-25 01:45:06
问题 Does anyone have a working example of using the new GWT constructs for RequestFactory with a SmartGWT DataSource for databound widgets ? If possible I would like to make a generic data service that contains methods for listAll , getByExample , getByPrimaryKey etc. I beleibe it should be possible ??? If using RequestFactory would it make sense to ditch the datasource altogether and work directly with the widget fields ? Cheers, Andy 回答1: http://forums.smartclient.com/showthread.php?t=10850

GWT (eclipse) - only seeing static html in welcome page

余生颓废 提交于 2019-12-25 01:36:44
问题 Surely very basic, but I am a server-side/pure java developer, just started with GWT... My new GWT project was working just fine, until it stopped - now the welcome page is served, but I only see the static html on it and nothing else. I see no error anywhere, I can see that the js file is built and referenced from the html, Same happens with the sample web app that's created in a new project in eclipse - it is the Web application starter project - I see "enter you name:" on the browser and

GWT:how to get the value of a checkbox of a cellTable

这一生的挚爱 提交于 2019-12-25 00:27:21
问题 I have this situation , i want to delete the objects in this celltable whose checkbox is Check on the clik of this "Delete" Button , Any idea how to get those objects whose checkbox is checked in this cellTable, when i click the delte button .. Thanks 回答1: If your requirement with delete single row, then You can use SingleSelectionModel otherwise MulitiSelectionModel in celltable. I have written some code with single selection model,It may give some idea. i.e. selectionModel = new

commons-logging-1.1.jar; cannot read zip file entry

孤街浪徒 提交于 2019-12-25 00:09:22
问题 I have imported a GWT project from GIT , but when i run maven Install it says .m2\repository\commons-logging\commons-logging\1.1\commons-logging-1.1.jar; cannot read zip file entry and if i simply run my application , i get this \git\my-Search-Engine\qsse\war}: java.lang.NoClassDefFoundError: com/google/inject/servlet/GuiceServletContextListener I tried to find out the way , one solution i found was to move the guice-servlet-3.0 from build path to \qsse\war\webinf\lib but if i do that i start

Referencing a GWT project from another GWT one - Problems

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 00:08:25
问题 I am already using an open source GWT project (iServe) and I would like to integrate into it another open source GWT project (PetalsBPM), by which I mean being able to call it and reference its methods. I have imported iServe in Eclipse (it has multiple modules) as separate Maven projects referencing its other and can run it successfully through Runas -> Web application in development mode. If I do that and run the other project through the console as mvn gwt:run, I call initiate PetalsMBP

How to achieve Drill up (Back To 'Chart 1') using GWT highcharts

南楼画角 提交于 2019-12-24 23:26:54
问题 I am implementing HighCharts Drill Down feature using GWT ('highcharts-1.7.0.jar') ,with the help of the javascript reference http://jsfiddle.net/ffc4jhb7/ and GWT API reference http://www.moxiegroup.com/moxieapps/gwt-highcharts/apidocs/org/moxieapps/gwt/highcharts/client/Drilldown.html#setDrillUpButtonRelativeTo(org.moxieapps.gwt.highcharts.client.MapNavigation.AlignTo) I am able to achieve 'Drill Down' but 'Back To' (Drill Up) option is not working. I am getting 'Back To XXX'Button, but

Difference between a GWT Generator and a Java Annotation Processor?

心已入冬 提交于 2019-12-24 22:30:32
问题 GWT uses Generator to create code before everything is translated into JavaScript. Java on the other hand has an annotation processor which generates code before everything is translated into byte code. What is the difference between a GWT Generator and a Java Annotation Processor? 回答1: GWT generators not only generate code, they also tell GWT to use it; whereas annotation processors only generate code that then needs to be used by some other code (either referenced directly in the code, or

How to create Pie Chart in GWT using gwt-visualization api?

人走茶凉 提交于 2019-12-24 22:27:39
问题 I'm trying to build a pie-chart. But i get two different kinds of charts with different jars, gwt-charts & gwt-visualization. . charts image http://gwt-google-apis.googlecode.com/svn/wiki/SimpleVizQuery-1.png This is generated using gwt-visualization.jar. But it only displays the detail when I click on it and not when i hover on it. And it has a few more flaws. . This is generated using gwt-charts.jar and this is what i want. Problem is that I need to use gwt-visualization.jar, but I want the