Newest gwt Questions

Q&A for professional and enthusiast programmers

Chrome remote device realtime screencast

I have an android tablet, connected to the pc via USB cable. I load a page on it in Google Chrome. Then on the pc I go to Developer tools, Remote devices, My device and click on Inspect. Everything is ...

gwt upgrade from version 2.7 to 2.8

I am develop application with gwt. until now i used with gwt version 2.7. now i decided to upgrade to version 2.8 so i download gwt 2.8 from here http://www.gwtproject.org/download.html and replace ...

How to delete the previous column count in celltable in gwt?

I am getting the previous table column value for the current search. Example: I am searching for a criteria which has four columns in it and it displays fine. When I search for another criteria which ...

Strange radio button behaviour in GWT

I came across an strange case GWT related with RadioButtons. I built component which consist from multiple radio inside lets call it X. One radio inside X is selected by default. But if I use this ...

GWT create custom button with ui binder

I want to create a special button, that will have Image, text, label and another image. I have the following code: public class CrossingStateMenuItemButton extends Composite implements HasText, ...

gwt-style=obf creates invalid css for media queries

I compile my gwt project with gwt-style=OBF. Now I realize that this generates media queries where the space between "and" and "(" is missing. So out of @media screen and ( ... gets @media screen and(...

How to make the textfield remember history of words typed in GXT

Do we have an option to make the GXT textfield remember the history of the words that have been given as an input. So when i click the textfield next time, it should list all the searches below the ...

GWT Label with line breaks without HTML, is this possible?

I need to insert a line break into a GWT Label. <br> doesn't work, neither does \n or \u000a (which also happens to be an illegal escape character when I try to add it as a String literal - ...

How to generate module compile report using gwt-gradle-plugin

I am new to gwt-gradle-plugin command line options. I want to generate the GWT module compile report from command line. I am aware of, ./gradlew :<project_name>:compileGwt and compileReport, ...

JDBC: onSuccess login method flawed?

I'm having an issue with the follow. I can get the 'Wrong username or password' prompt (on purpose) and it seems that my database setup is correct. Whenever i try to login, i can't get past to the ...

Google Guice DI across projects

I have a maven project 'projectA' and a gwt maven project 'projectB' is it possible to inject something which is a part of 'projectA' into 'projectB' .I tried to with following steps with no luck.. 1)...

GWT (CellRenderer)

I have a grid that contains data and I have a colomn that contains date data. The objective is to retrieve these data and put them in an XML file and I succeeded to do it. My problem is that the ...

CellRenderer (GWT)

Hello i have GridCellRender in GWT Declared in this way List<Columnconfig> configs = new ArrayList<Columnconfig>(); ColumnConfig column = new ColumnConfig(); column.setId("name"); ...

GWT issue : Invoking Linker Cross-Site-Iframe Ignoring the following script tags in the gwt.xml file

I am trying to compile an application using the 'GWT Super Dev Mode'. But, I end up having the following Ignoring the following script tags in the gwt.xml file sc/modules/ISC_Core.js sc/modules/...

Grid loadmask(true) is not working in gxt

I have to mask the GXT grid when the data is loading. I have set the loadmask parameter to be true in the grid component. But i am not able to see the masking. Do I need to add anything else beyond ...

Cannot load assets in html project

I am trying to test a html build. The thing was working right until I tried loading an image file from the asset folder. In the asset folder I have two files: badlogic.jpg and test.png They are both ...

How to use CellTable.Style with GWT 2.7.0 without UiBinder?

I joined a GWT application project a few weeks ago. The codebase was started back in 2009. I am trying to replace a FlexTable with a CellTable so that I can take advantage of the sortable columns. ...

GWT compilation for test

hi i am trying to statrt developping an existing fat gwt application, when i try to use mvn clean install to compile in order to start my super dev mode i get out of memory OutOfMemoryError: ...

Plotly js is not able to draw the data from dyanmic y axises Array

Please, I have written the flowing code as I can see there series have proper data but Plotly behaves randomly when I change to static array for y-axis for multiple traces it works fine. What is wrong?...

How to open a form created on GWT using QRcode?

I have created a form that show details of a student (using GWT). I want to create a link of that form that should be opened using QR Code.

Factory instances in GWT [on hold]

I have a class like so: public class XmlParserHandlerFactory { private static XmlParserHandler defaultHandler; private static XmlParserHandler handler; public static XmlParserHandler getHandler(){ ...

HTML tags are not reflected in Gxt Grid

I have a GXT grid where I am applying html tag to highlight the text "def" in the word "defining". But instead of taking as HTML tag, it considers the as a string and displays output as <mark>...

Why Handler doesn't work while Listener does his job?

I struggle to catch events after famous DOM.appendChild. After many attempts of use handlers I found this answer where @Õzbek did the job via listener. And now I don't get it why "listener" works ...

Perform complex AI tasks in game without multithreading

We are developing a turn based strategy game using libGDX. We want the game to run on mobile devices and the browser. The AI of the game has to perform quite complex calculations. These calculations ...

Adding Servlet Filter causes GWT Host page to rendering twice

I have a production issue which i can easily reproducible in Normal GWT application as well, Below is the scenario Created sample GWT application Added Servlet Filters in my web.xml (for Central ...

Old action Window is getting updated with the new action window's data in Gxt

I have an split button named "Types" with values "View", "Chart". When i click on view, i will be creating a new instance of action window and i will be setting the westwidget with view data. Now when ...

GWTP PresenterWidget: who is responsible for calling unbind(): framework or app?

I'm adding event handlers in GWTP PresenterWidget during bind: public class MyPresenter<...> extends PresenterWidget<...> { @Override protected void onBind() { ...

GWT ScrollPanel not showing

<g:ScrollPanel width="100%" height="100%"> <g:FlowPanel styleName="vertical-container paddingSides3px "> content </g:FlowPanel> </g:ScrollPanel> When I produce ...

selectionModel not select hyperlink

I have this DragAndDropCellTable and each row have a SelectionModel. the DragAndDropCellTable with three rows I want to click the hyperlink (Underline) without the row being selected. I can't seem ...

sencha display tooltip of a text field when it is in focus

How do I display tooltip of a text field when it is in focus, not when mouse is hovering over? I use TooltipConfig . TextField email = getEditor().getEmail(); ToolTipConfig toolTipConfig = ...

How to highlight the matches on search in GXT grid

I have a requirement where the Gxt Grid should highlight the matches as and when i type something in Text Box. Currently, it filters the value and displays only the row that contains the match. Can ...

Why do the GWT plaintext components show rich-text?

For safety against Cross Site Scripting, "it is preferred to use the non-HTML equivalent of widgets" where richtext is not needed. I generally want to interpret user input as plaintext. The HTML at ...

GWT displays only half page on navigation

I have created a GWT application which works fine on the first go. But when I start navigating the application and comes back on the page which was previously visited, that page is displayed only 70% ...

call to objective c method from cordova javascript

I develop application for android and iphone with gwt and cordova. I create deepLink in email when the user clicked on link the the application opened. now after application opened I need move to ...

GWT: How can I get Element child depth?

How can I get Element child depth? Some like com.google.gwt.dom.builder.shared.ElementBuilderBase.getDepth(). Thank you.

Detect 64-bit or 32-bit Windows from Google Web Toolkit

How can I detect the OS version (32-bit or 64-bit) in Google Web Toolkit?

GWT 2.7.0 superDevMode recompiling (cache.js.gz error)

I am using eclipse to develop a gwt application and recently I migrated from GWT 2.6.0 to 2.7.0. I was always using super dev mode(with built-in jetty) and it worked ok with 2.6. While using superdev ...

GWT Test Case with HttpSession

I am developing a test that uses HttpSession to set the session key in GWT Test Case. When I try to call the RPC I got 'NullPointerException' in HttpSession. I also tried to use another RPC call ...

GWT code server not compiling; app.nocache.js is missing

I am starting the code server with mvn gwt:codeserver -pl mahlzeit-web-client -am and the Tomcat with mvn tomcat7:run-war -pl mahlzeit-web-server -Denv=dev -Dpackage-mode=dev -DskipTests However, ...

GWT Server in SuperDev mode is ignoring some of files (not all of them)

Out of a sudden GWT SuperDev mode started to ignore changes in some of files (not all of them, that's the most frustrating part) with following message: GET /recompile/MyApp Job org.shabunc....

404 page when run as web application project

I want to create a basic Google Web Application project and i get an 404 Page not found error. I followed several tutorials and what i do is this: Open eclipse - File - New - Other - Web ...

how to inject a dynamically generated pdf into a gwt iframe

I'd like to have a dynamically generated pdf to show up into an iframe, i can successfully call the servlet inside the iframe, as follows: Frame frame = new Frame(); frame.setUrl( downloadUrl ); ...

How to create a FlexTable with thead and tbody

How to create this simplest table in GWT FlexTable? <table> <thead> <tr> <th>Month</th> <th>Savings</th> </tr> </thead> ...

GWT - How to serialize JSON response into array and loop it to be shown in table

I have simple response from a page in JSON format which looks like this: {"ip": "89.164.255.124"} (http://ip.jsontest.com/) (Using this example only to learn how to do it). I need to use that response ...

Error in GWT: “ Type 'com.extjs.gxt.ui.client.data.BasePagingLoadConfig' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable”

Hello friends I am developing GWT app, and when I click on tab in my app I get this error: [WARN] deviceGroupServlet: An IncompatibleRemoteServiceException was thrown while processing this call. ...

Calling servlet from GWT test case

I have implemented a test case 'A' in one project and calling a class 'B' in that test case which is located in another project. Internally that class 'B' calls servlet 'C' by creating RequestBuilder ...

Web app in java needs to communicate with java desktop app what are my options? [on hold]

Hi I need my web app developed in java to communicate with a desktop app also developed in java. I have found many different options but do not know which is more optimal, I have found many outdated ...

GWT 2.4 DataGrid row span

Is it possible to have a DataGrid with a column that contains mixture of different row spans of 2, 4, etc? I've come across DataGrid's setTableBuilder() method in CustomDataGrid sample code http://...

include gwt-graphics into a Eclipse WebApp-Project

I try to include the gwt-graphics library into a WebApp-Project made with Eclipse. This is the description: https://code.google.com/archive/p/gwt-graphics/wikis/Manual.wiki "Download gwt-graphics....

How to know if a URL of an image is Valid using GWT?

I am using google web toolkit, and I want to enter an URL in a textbox, and display the image from this URL on the page, so I use an ArrayList to handle my images, and a VerticalPanel, to display my ...
Translating... 0%