gwt

Determining existence of folder on client's machine in GWT

Is there any way I can check the existence of a folder on the client's root on the C drive (assuming the client is using Windows XP) in GWT? In a way that works both in Firefox and IE at least? I know that there is a JavaScript way to do it, but as far as I know it only works in IE6. If this is my only real option, I'll use JSNI to ac...

Using google webtoolkit with ASP.NET

I have a page rendered in asp.net. Now I want to use google web toolkit to interact with this page. Is it possible.. ...

How to develop GWT widget?

I want to develop my GWT Widget. This widget draws Gantt chart and has drag - drop property. It will be simple form of Deskera Where can I start to develop this widget? Any advice? ...

GMaps controls broken in GWT 1.6+ ?

I've ported my GWT app to 1.7.0 from 1.5.2 and widgets that are used as a control on a GoogleMap no longer get ClickEvents. I've checked that the DOM insertion of the control is the same and there are no differences there. Since GWT 1.6 introduced a significant change in the way events are handled I'm thinking something has gone amis the...

Cancelling a server-side GWT call

I'm using RequestBuilder to time out GWT requests which take too long: RequestBuilder requestBuilder = _service.getStatistics(callback); requestBuilder.setTimeoutMillis(5000); try { requestBuilder.send(); } catch (RequestException e) { GWT.getUncaughtExceptionHandler().onUncaughtException(e); } Is there a way of notifying the ...

GWT, Google App Engine, TimerTask or Thread in ServiceImpl throw exception.

I am using GWT and Google App Engine. I have array of records and I want to update them every 30 mins. In the ServiceImpl I have the fallowing code : new Timer().schedule(new TimerTask(){ @Override public void run() { try { Thread.sleep(30000); } catch (InterruptedException e) { e.printStackTrace(); } res...

GWT Incubator Glass Panel not implementing ClickHandler

Hi everyone, I have an app that uses the GWT-Incubator GlassPanel class. I extended it to form a custom one that implemented a ClickListener. I upgraded to GWT1.7 and GWT-Incubator 1.7, and it broke ClickListener. I tried to rewrite my class so that it implemented ClickHandler, but it does not execute my new onClick method when the p...

What's the difference between boolean and Boolean in Java?

I would like to understand the difference between the Boolean and boolean types in Java, specifically as they relate to GWT. I know that methods are not supported but I want more info if it is available. ...

Which is the best ESRI ArcGIS component library to use with GWT?

We are currently designing a GIS intranet application using GWT and ESRI ArcGIS. We are looking at 2 client side Javascript libraries: The ESRI Javascript API Open Layers The library will have to support fused and non fused map caching as well as some layers that are dynamic. Open Layers GWT integration exists but the ESRI library is...

Gwt application does not appear in IE7

Hi, I created a gwt application.... It runs under current Chrome, FIlefox,Opera, IE8 but it does not work under IE7 at least on certain machines. It means the embedded gwt application is not visible at all. There is no javascript error. (Checked with Web Visual Studio) The version of IE is 7.0.6001.18000. The javascript is turned o...

How to debug error while compiling gwt source: "An unexpected error has been detected by Java Runtime Environment"?

While compiling gwt source, I get the error : "An unexpected error has been detected by Java Runtime Environment " Following is the hs_err_pid14267.log (error log) file is generated on server How would you debug this? # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f8d00a8d25a,...

GWT DnD: Keep draggable within an AbsolutePanel

I made a MultiSlider widget using the GWT and the gwt-dnd addon to rate texts. On the screenshot, you can see the slider button with value 50 dragged outside the slider bar. It can't be dropped outside the bar, but it can be dragged outside of it. Is there a way in GWT to always keep the slider buttons inside the slider bar? EDIT: T...

Is there a PHP web toolkit similar to Google Web Toolkit ?

Hello, I've been playing with GWT lately, and I like the idea a lot. The only downside for me is Java, which I'm not a big fan of. (Please don't argue about Java being better than PHP, it's not the point here, really) Do you know about any mature and efficient PHP toolkit providing a set of widgets just like GWT does ? Thanks for your...

Automatic 'loading' indicator when calling an async function

Hello there, I am looking for a way to automate showing and hiding a 'loading' message when calling an async service, so instead of doing this: showLoadingWidget(); service.getShapes(dbName, new AsyncCallback() { public void onSuccess(Shape[] result) { hideLoadingWidget(); // more here... } public void onFailure(Throwab...

Persist classes with inheritance using Gilead

I'm using Gilead to persist my entities in my GWT project and I've run into an issue. I'd like to create a parent class to hold some properties that are common throughout my entities (id, etc). When persisting I get a null pointer exception. Parent class: public abstract class Entity extends LightEntity implements Serializable { ...

Spring + GWT, How to disable User Authorization request for a Insert Query? Please check inside..

Hey StackOverFlow, I'm currently working on supporting a Spring + GWT intranet application that was given to me on the last hour, I need to implement a dozen fixes to this software, including tests and stuff. One thing that I could not find is that.. I have a view and a presenter, the presenter is responsible for the function that wil...

How to copy to clipboard with GWT?

Couldn't find anything on this with a Google Search. Does anyone know how to copy some text to the clipboard through GWT Java code? I'd like to avoid the raw javascript injection solution. Any help or pointers appreciated. ...

VerticalSplitPanel doesn't show widgets in GWT

This is some very simple code that I'm using to try showing a VerticalSplitPanel, but the widgets I add don't show. The divider thing of VerticalSplitPanels does show however the widgets I add don't. Code: public class MyView extends Composite { private VerticalSplitPanel mainPanel=new VerticalSplitPanel(); public CountryFilte...

working with buttons in a grid - GWT

hi all, i am using GWT 1.6 and i am pretty new to it. my question is about the use of a button as part of a grid row. how can the onClick method that the button has refer to the data in the grid? how i can make the button be aware to its raw and the other data that exists on the same row ?? thanks Me ...

GWT testing without GWTTestCase and the DOM

Can I test my client side GWT code without GWTTestCase? I've heard somewhere (I think it was one of the Google IO 2009 conferences) that they were successfully testing their code with a fake DOM, in the JVM and not in Javascript with the DOM. That would be brilliant. The point of this would be to gain speed (order of magnitude). Does any...