gwt

installing GWT plugins to eclipse

倖福魔咒の 提交于 2019-12-23 05:32:53
问题 i started to explore GWT yesterday it self and was going basic tutorial in google documentation, I've downloaded GWT ran a sample project without Eclipse as the tutorial stated and then started to setup Eclipse. I'm using Eclipse Galileo and according to given instructions i followed the steps and when i was installing GWT plug-in for eclipse i came across an error, so i re ran the plug-in installation and came across the same error again, this is my 3rd time of that procedure. so i turned on

GWT: How to share a java Object (ie: EventBus) between two modules

喜夏-厌秋 提交于 2019-12-23 05:27:34
问题 I’m building a large application and I would like to split it in several modules like Core Module for initialization, users management, etc…, Customer Module, Production Module, etc… I want to split it in multiples GWT modules (not using GWT splitting technique) and share an EventBus for broadcast some events like LoginEvent, LogoutEvent. I don’t want uses the code splitting technique because I want reduce the compile time and re-compile only the module that I modified. This allow also to

Window Location getParameter is always null in GWT/GXT Project?

孤街醉人 提交于 2019-12-23 05:25:58
问题 I am working GWT/GXT I am trying to practise some sample Examples. This is url of the project http://127.0.0.1:8888/Opera_Star.html?gwt.codesvr=127.0.0.1:9997 public void onModuleLoad() { Map<String, Entry> project = new FastMap<Entry>(); ProjectModel projectModel = new ProjectModel(); for (int i = 0; i < projectModel.getChildren().size(); i++) {// 1 children LoginCategory loginCategory = (LoginCategory) projectModel .getChildren().get(i); for (int j = 0; j < loginCategory.getChildren().size(

How to Run my playN game in production mode locally?

那年仲夏 提交于 2019-12-23 05:15:11
问题 I want to run my playN game in production mode as the development mode is too slow to test. I am not able to click and get the response for buttons and it updates very slow in dev mode. I have read that substituting the IP of the link with "localhost" will do. But even after i have done the same, It is too slow like before. I need to run the html version only. How can I do this? 回答1: You should try running it having the test-html profile active. From PlayN's getting started page: cd playn

No Google icon after installing the google-plugin-eclipse

你离开我真会死。 提交于 2019-12-23 05:03:51
问题 After I installed google plugin for eclipse 4.4, the blue Google icon does not appear in the toolbar. And when I check in the installation details of Eclipse, the plugin is listed as installed, but in Preference there isn't any "Google" entry. The problem is, I have tried the solution suggested in the plugin's FAQ site and tried reinstall as an Administrator user (from a completely new Eclipse), to no avail. Have anyone else encountered the same problem ? My environment: Windows 7 32bit,

Hibernate, GWT and Gilead: sessions, transactions and caches

老子叫甜甜 提交于 2019-12-23 04:47:50
问题 I am writing a GWT application, using Hibernate at the server side. Right now, I am entirely confused about the correct way to transfer my objects to the client side of the GWT application in the least amount of code. I am using Gilead to avoid having to double the amount of classes in my domain model [1]. First off, my question is how I should be opening sessions and transactions. Initially, I did this on every RPC server call: // begin rpc call getCurrentSession beginTransaction // ...do

GWT remote logging going to System.out instead of log file

那年仲夏 提交于 2019-12-23 04:26:08
问题 I have setup gwt remote logging based on the gwt documentation, however my logs are going to System.out instead of being written to a log file. My gwt module looks like: <module rename-to='ezdappserver'> <inherits name="com.google.gwt.logging.Logging"/> <set-property name="gwt.logging.simpleRemoteHandler" value="ENABLED" /> <set-property name="gwt.logging.logLevel" value="FINEST"/> <set-property name="gwt.logging.enabled" value="TRUE"/> <set-property name="gwt.logging.consoleHandler" value=

How to resolve the playN asset path error?

余生长醉 提交于 2019-12-23 04:18:10
问题 I am getting the following error when I run my playN project. "No file found for: /myproject/myproject.nocache.js" Also I am getting only a black screen in the browser. In the MyProjectHtml.java file I am giving the path as "platform.assets().setPathPrefix("myproject/");" How can I resolve this problem. I am not finding any file with the name "nocache". Note: The comment in one of my previous question's answer will be useful: How to Run my playN game in production mode locally? Thank you.

Adding a div element inside a panel?

陌路散爱 提交于 2019-12-23 03:51:45
问题 I'm working with GWT and I'm trying to add google-maps to my website. Since I want to use google-maps V3 I'm using JSNI. In order to display the map in my website I need to create a div element with id="map" and get it in the initialization function of the map. I did so, and it worked out fine but its location on the webpage is funny and I want it to be attached to a panel I'm creating in my code. So my question is how can I do it? Can I create a div somehow with GWT inside a panel ? I've

GWT unit test case

霸气de小男生 提交于 2019-12-23 03:21:49
问题 I was planning to write a unit test case for one of my helper methods in GWT. Am getting error saying that ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code. If you are running a unit test, check that your test case extends GWTTestCase and that GWT.create() is not called from within an initializer or constructor. When I debug, I see that error is originating from the line NumberFormat formatter = NumberFormat.getCurrencyFormat(); in my code.