Newest gwt Questions

Q&A for professional and enthusiast programmers

Can I use GWT with handwritten HTML and CSS?

I'm starting work on a little HTML5 canvas game, and I was thinking GWT would be a great idea. I'd like to use Java, because 1. I have a lot of experience with it and 2. I would like to do it in an OO ...

Upgrading gwt from 2.1.1 to 2.8.0: ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype

After upgrading gwt from version 2.1.1 to 2.8.0, I got the error message 2017-04-20 12:59:19.551:WARN:oejuc.AbstractLifeCycle:main: FAILED c.g.g.d.s.j.WebAppContextWithReload@341fbaf1{/,file:/C:/...

SmartGWT link FacetChart with MySQL

I am newbie to SmartGWT. Currently I am trying to build a line chart with data from listgrid which read from MySQL database but I didn't manage to get the data shown in the line chart, help!! Here's ...

Unable to resolve Joint in Eclipse CHE

I am able to load the same Callgraph.js in a html or GWT application. But getting the following error , even though all the JS script are loaded. joint.layout.treeLayout.min.js:14 Uncaught ...

String back referencing is not working in GXT server mode but works in GXT dev mode

I have the below code which works perfectly in GXT development mode. But it is not working in GXT server mode. Can you please help me in resolving this? String stringValue = "Servicing"; if (...

add google app engine sdk to gwt 2.8 project

I develop gwt project until now i used with google app engine and gwt 2.7 and everything is ok but i want to upgrade to gwt 2.8 and i can not. this is what i did until now i remove the google app ...

JAVA -> GWT -> JS double value comparison

I've some trouble comparing two double. If I use the values as they came I have a weird behaviour (if a > b a comparison give b < a !!). 'report' is a class created by GWT rpc double A = ...

Gwt Crypto - Odd exceptions caused by decryption taking too long?

I am getting some really odd errors using Gwt-crypto. When I try to load a playerId from preferences I do the following: public long loadIdFromPref(){ Preferences preferences = Gdx.app....

Libgdx GWT 2.8 Compiling Issues

I'm trying to superDev compile a 'working' GWT Libgdx project that has recently succumb to a potential file and/or library issues upon updating to LibGDX 1.9.6, GWT 2.8.0, and jre1.8.0_121. Here is ...

Google Map Nearby Places details issues

I am currently working on a mobile app that uses Google map API. It will show the user location and list of nearby mechanics(technicians) with their personal details. I want the app to enable the ...

Is that possible to select another radio button, when the other one is already selected and setted in disabled mode?

In the below code, depending upon the selection(single/multiple selection), iam using the resources images to display accordingly. I have selected the radio button and made it as readonly. Now if i ...

Put image to GXT ComboBox field

How to put image to GXT ComboBox - especially to the field, not options? See example below:

java.sql.SQLFeatureNotSupportedException: get array

*I am working on Neo4j and I am trying to fetch the detail of all user who have done their registration on specific date have have calculated the date and time along with the ids of user in order to ...

How to solve the delay in loading the radio button selection in the application?

In my application, i have a radio button field selected. When i am opening the page, the selected field has some delay. Example: I am opening the page, that radio button is in unselected state, after ...

How to add a column of checkbox in a grid where only one can be selected across all rows?

I have an Inline Editable grid with a column for checkboxes. How do I make sure that only one of those checkboxes in all the rows is checked? Whenever the user checks one checkbox, the previously ...

Call frame js from GWT

I am trying to call frame js from GWT. my java code is: public class Trips extends MyPopup{ Frame f = new Frame("js/location.html") public popupPanel(){ super() ; ...

Debug spring mvc application in intellij

Can we debug an application which is using spring mvc framework with strtus2,gwt and hibernate in intellij community version ?

Get Hindi data from Apache CouchDB 1.6.1

I am using Apache CouchDB 1.6.1 as my database. We are creating quiz and saving the question data in couchdb. Now, there are users who want to create question in hindi. Data gets saved in couchdb ...

Is there a way to force GWT to parse a date with the format “1/1/9” as “January 1st, 2009” instead of “January 1st, 9”?

I am using the built-in PredefinedFormat.DATE_SHORT using en_US locale (although en_UK has the same issue) and if I enter "1/1/9" the date is parsed to Jan 1st 9. If I enter 1/1/09 it is read ...

CDI events not firing

I have an Errai app which CDI events are not firing: @Dependent @Templated @Page(path = "person") public class PersonPage extends Composite { @Inject @Loaded Event<Person> ...

Order script injection in GWT using Scriptinjector

<link rel="stylesheet" href="public/rappid.min.css" /> <script src="public/jquery.js"></script> <script src="public/lodash.js"></script> <script src="public/backbone....

RegExp and MatchResult in GWT returns only first match

I am trying to use RegExp and MatchResult in GWT. It returns only first occurrence in a word. I need to have all the three "g", "i", "m". I tried "gim" which is global, multiline and case insensitive....

RegExp: Global Flag in GWT Returns One Result? [duplicate]

The following GWT code will not produce the result I expected: String lastNumber = getLastNumber("1234 Test 9876 Another Number 12345"); [...] private String getLastNumber(String test) { RegExp ...

What method to do GWT File uploading using FormData?

I have this working code that upload image (file) and I want to convert it to pure GWT (without JSNI): Element element = DOM.createElement("input"); element.setAttribute("type", "file"); element....

Send HTTP request with GWT-RPC call via Python

I need to initiate an action on server via sending the HTTP request with GWT-RPC call in body section. I'm completely new in GWT subject so please forgive my lack of knowledge. In Java I was able to ...

applying multiple css classes to GWT

.class1{ font-weight: bold; font-size:20px; } .class2{ background: #ffffff; color: grey; } and GWT method private static final String STYLE2 = class2; private static ...

Populate a Dropdown Based on Selection of Another Dropdown in GXT

I have a simple dropdown menu that when an item is selected from another dropdown, it should get populated by a set of values from the database based on the selection value of the second dropdown. ...

How to map JSON to POJO with dynamic property name using JsInterop

I have this kind of JSON that needs to be converted to POJO using JsInterop: "ACL": { "*": { "read": true }, "...

How to add a boolean variable in JUnit test case method?

I have tried adding this field in Test.java class. But it's throwing an exception like java.lang.RuntimeException: java.lang.reflect.InvocationTargetException: null. I am using this new boolean as the ...

While checking test cases, i am getting an initialization error Junit Testing in GWT

Here excludeStatementGroupConfiguration is a boolean variable i have initialized newly. But while running the test case i am getting the initialization error. What might be the reason? private void ...

GWT scrollbars not appearing

I am using Java GWT to create a UiBinder control. I am having a problem getting the scrollbars to show up. The UI has a master HorizontalPanel containing a left and right flow panels. Each are a ...

SmartGWT how to know if any Window is visible on the screen?

I have an editor application with a main editor area in SmartGwt. I handle some native events - keypresses as keyboard shortcuts. I want to disable executing these when there's one or more Window ...

GWT SafeHtmlTemplate Internationalization

I'm in the process of internationalizing my gwt app and I have several SafeHtmlTemplate that I'm using that I'm not sure how to translate. Is there a convenient way to translate these while still ...

UmbrellaException occurs when I execute window.show method

I'm having this issue: I have a web application using GWT 2.1 and smartGWT 2.4 lib. I use JRM 7, netbeans 8.0.2 and Apache tomcat 7. I have a class that inherits from com.smartgwt.client.widgets....

GWT Disclosure Panel with Bootstrap Button wrong layout

I use a gwt disclosure panel with 2 gwtbootstrap3 (based on bootstrap 3.3.6) buttons inside. When I open the disclosure panel (in chrome browser) the layout of the buttons is broken (see image). ...
+100

getting 404 in GWT RPC with phonegap

I tried to follow the answers regarding this question but none working for me . I have a simple helloworld app in GWT which i am trying to run in phonegap on my real android phone. So i compile my ...

How to send URL parameters from GWT client to Server side for validation

I am working on enhancing an existing GWT project, I am adding authentication using PING. So here is what the flow is: User enters application URL http://...../library-ui I want to use servlet ...

How to export GWT library project (not as jar) but as Javascript (js) library?

For example I have a library with this main function: public class Xlib{ public static XRequest get(String url){ return new Xequest(url); }; } How can this be usable to Javascript as ...

GWT memory buffer compared to session storage

Working with GWT/GXT i like to speed-up my App with 'local-caching'. I red about HTML5 session storage, but i was wondering why i shouldn't just use a memory buffer (a big hashmap with all the ...

GWT Java rpc call working; however, replacement GWTBootstrap - rpc call not working

I am just starting to use bootstrap to convert an existing GWT project. The original rpc call works in the following code. However, the replacement is placed straight after the original code and "...

GWT SuperDevMode divide options

How can you divide the project into two parts? 1) When I run in SuperDevMode mode. Your resources and * .gwt.xml 2) When I compile in maven. Special resource and * .gwt.xml. For example my properties ...

Rich UI Web application development

We have been developing the html template editor which allows you to drag and drop the components (TextBox,Label,Image, Videos etc), positioning and styling them. Writing boilerplate JavaScript would ...

Logger not working inside AsyncCallback

I have a problem with logging with GWT Unit testing: logInfo("Creating Stuff: " + stuffAutoBeanSerializer.encodeData(stuff)); // Logging works and showing in the IntelliJ console myService....

Stacked Icons on Bootstrap Button

is there a way to have stacked icons on a bootstrap3 button? I use gwtbootstrap3 which uses bootstrap 3.3.6. Thanks in advance Hannes

calling gwt function from js file code.[Error is not a function]

I am trying to call my GWT function from external js.But i am getting error ****window.myFunction** is not a function** my js file is function initMap() { var map = new google.maps.Map(document....

GWT with hot-swap agent and SDM

I am building a sample GWT project in Intellij. The problem is the code change in my services module is not reflected in the webapp. Following is the structure of my project: Parent POM: <...

Software licensing issue [on hold]

I have built a web application (smartGWT LGPL ) using various libraries as shown in the image below. I am stuck with the licensing legal matters as there are many libraries and sometimes these ...

GWT - login form - browser always asks to remember password event if user/password is incorrect

I have a simple GWT login form and a java servlet used for a simple user login. I am using form submit completion event to handle the response, without redirecting to the action target URL, and I want ...

What client side framework should I use for a large web application [on hold]

As Java developer, I always felt comfortable developing web applications using GWT, but every now and then I am trying to check if there is a better framework that I can use for developing a large ...

Is it possible to deploy a non-portlet WAR file in JBOSS Portal?

Recently I had to migrate a GWT portlets UIs to Angular2 UIs. The problem is that the application is huge containing plenty of modules (portlet-war files) which are embedded inside a JBoss Portal (v 2....
Translating... 0%