gwt

GWT div aria-hidden not hiding in IE

依然范特西╮ 提交于 2019-12-19 10:24:37
问题 I programmed my landing page with GWT. In IE I get this empty band at the end of it (I painted it in green so that you can see it): This only happens in IE (I'm testing with IE9). Not in Chrome, not in Firefox, not in Safari. Checking out the DOM, the responsible for this area is the following div: For some reason, the " display:none; " inline rule is not working. If I uncheck it and check it back again, then the green band disappears!! But I'm not gonna ask my users to do that each time they

GWT div aria-hidden not hiding in IE

不问归期 提交于 2019-12-19 10:24:27
问题 I programmed my landing page with GWT. In IE I get this empty band at the end of it (I painted it in green so that you can see it): This only happens in IE (I'm testing with IE9). Not in Chrome, not in Firefox, not in Safari. Checking out the DOM, the responsible for this area is the following div: For some reason, the " display:none; " inline rule is not working. If I uncheck it and check it back again, then the green band disappears!! But I'm not gonna ask my users to do that each time they

NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V

試著忘記壹切 提交于 2019-12-19 09:25:31
问题 I am running selenium test in maven project.This project is GWT Web application.There are GWT dependencies,hibernate dependencies in pom.xml.I have created a new class in test package to run the selenium test case.I have also included selenium server-2.33.0 dependencies in pom.xml but getting following exception:- Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V at org

gwt-maven-plugin: How to set system properties for the gwt:run goal in the pom.xml?

為{幸葍}努か 提交于 2019-12-19 08:57:17
问题 I'm trying to set a system property on a GWT application running in hosted mode launched using mvn gwt:run . The property isn't getting set, by the looks of things. In my pom.xml the plugin configuration is: - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>2.2.0</version> <executions> <execution> <configuration> <module>com.foo</module> </configuration> <goals> <goal>compile</goal> <goal>test</goal> </goals> </execution> </executions>

“The command line is too long” — when running maven test

人走茶凉 提交于 2019-12-19 08:55:45
问题 Running $mvn test on a 64-bit Windows gives me the following error, even if I do $mvn test -Dgwt.genParam=false : The command line is too long 回答1: Make sure you are using version 2.16 and that you have the useManifestOnlyJar option (as documented here). For example: <project> [...] <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.16</version> <configuration> <useManifestOnlyJar>true<

GWT 2.6 with GXT-3.0.1 error in compile

怎甘沉沦 提交于 2019-12-19 08:12:41
问题 since the 2.6.0 release of GWT which dropped support of ie6 browser my current project which also uses GXT is failing to compile with the following error: Loading inherited module 'com.sencha.gxt.ui.GXT' Loading inherited module 'com.sencha.gxt.data.Data' Loading inherited module 'com.sencha.gxt.core.Core' [ERROR] The value ie6 was not previously defined. [ERROR] Line 96: Unexpected exception while processing element 'set-property' i tried to set <set-property name="gxt.user.agent" value=

GWT 2.6 with GXT-3.0.1 error in compile

僤鯓⒐⒋嵵緔 提交于 2019-12-19 08:12:21
问题 since the 2.6.0 release of GWT which dropped support of ie6 browser my current project which also uses GXT is failing to compile with the following error: Loading inherited module 'com.sencha.gxt.ui.GXT' Loading inherited module 'com.sencha.gxt.data.Data' Loading inherited module 'com.sencha.gxt.core.Core' [ERROR] The value ie6 was not previously defined. [ERROR] Line 96: Unexpected exception while processing element 'set-property' i tried to set <set-property name="gxt.user.agent" value=

Unbinding presenters necessary in GWT

吃可爱长大的小学妹 提交于 2019-12-19 07:22:19
问题 I'm using the MVP pattern from my GWT application following the example given here http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html I have a single MainPresenter and sub-presenter for each of the panels in the MainView. To show a new sub-presenter, I do something like this: presenter = new PresenterA(new ViewA(), ....); presenter.go(panel) // presenter clears the panel and itself to the panel When PresenterA is created, it binds itself to events in the ViewA . My

how to add column of ClickableTextCells to cellTable

不羁岁月 提交于 2019-12-19 07:13:09
问题 hi all i need a simple example show me how to add column of ClickableTextCells to cellTable thanks. 回答1: Column<YerValueObject, String> newCol = new Column<YerValueObject, String>(new ClickableTextCell()) { @Override public String getValue(YearValueObject obj) { return obj.someMethod(); } }; newCol.setFieldUpdater(new FieldUpdater<YerValueObject, String>() { @Override public void update(int index, YerValueObject obj, String value) { //do whatever you need to here... } }); table.addColumn

Google App Engine Task Queue on GWT

萝らか妹 提交于 2019-12-19 03:46:08
问题 I'm looking at Google App Engine's new task queue API for Java and I'm having a hard time relating that to my GWT application. If I wanted to use a task queue to do some asynchronous processing, how should I do that using GWT. The way I see it is, I'd have to send a server request that would then do the submission to the task queue API. If I understand task queues properly, I'd have to create yet another servlet to do the processing from the task queue (be the worker). I'm looking for 2