gwt

Is there any way to re-enable a disabled checkbox on click?

I would like to allow my users to re-enable a disabled checkbox on click. I tried to attach an onClickHandler to my checkbox but since it's disabled, it doesn't see to catch that event: checkbox.onClickHandler(new ClickHandler() { public void onClick(ClickEvent clickEvent) { // do something } }); Did I miss something? Or would...

War takes more space.

I am using GWT-JAVA. In this, WAR folder takes more memory. When i reduce my source file also it doesn't get reduced. What are all files/folder must be needed in WAR? Please give suggestion about needs of each file and folder? Some of folders are images, smartG, Web-INF, sc, LS, js, pieces(In this, Sc and Web-INF takes more space). I ...

Serving GWT app from ARM-based machine.

I have an ARM-based platform and I'd like to use it to serve GWT application. On x86 I'd go with Tomcat to serve pages, but what options do I have on ARM architecture? Although GWT is preferred it isn't a must-have but I don't want to switch from Java to PHP. ...

Browser dependent issue

I am using GWT-JAVA. The Login page displayed good in firefox. But In IE It is too slow and also Fonts are too big. In chrome it display only the background image. Nothing will be display. Is it GWT a browser dependent? Otherwise Can i change any other options or anything else? Thanks in advance. ...

How can I run GWT unit tests when using the google-charts API?

I am using the gwt-google-apis package in GWT so that I can use the visualization API. However, I cannot find a configuration that allows me to run unit tests that use DataTable. Does anyone have a working configuration where a GWT Unit Test uses elements from the visualization portion of the gwt-google-apis? gwt-google-apis: http://cod...

How to make GWT find source in linked folders?

I'd like to create a GWT (2.0.4) project but with my source in a common java directory that's not kept under the GWT project directory. I did the following: 1) Created new project 'game' in package com.mycomp.project.game. This worked fine, with its source under C:\java\Projects\game\src\com\mycomp\project\game. 2) Copied the code in...

GWT designing a Button

I would like to do some notification stuff for my website. I am done with the backend coding but i would like to display properly in the VIEW. So exactly what i need to do is when ever there is a message i would like my button to change its color.I mean i want to do something which indicates that there is a message waiting for the use...

RTL Dropdown Problem in Browsers (Windows7 or Vista)

I have problem in RTL drop-down in windows7 or Vista. As you know browsers usually use OS listbox to show these components. I want to ask how to restyle drop-down with CSS in RTL or if it is not possible, do you know free useful drop-down widget(in GWT)? Regards ...

How to set Expires HTTP header on a single JS file in Apache Tomcat?

Hi, I have a js file which is cached between 5-10 minutes, depending on whether I'm using tomcat from the eclipse (via GWT plugin) or starting tomcat as standalone. This is strange as I'm using GWT as my framework and this file should not be cached at all (it's a nocache.js file to those of you who know GWT). I've read on a GWT Google gr...

Funky Layout Issue using TabLayoutPanel and GWT?

Hey guys, I'm using GWT for a data-driven web application, and I'm having issues with a CellTable embedded in a TabLayoutPanel. As you can see from the screenshot, the scroll bar for the table does not appear inside the bounds of the TabLayoutPanel. (You can see just a couple pixels of it on the right.) If I mouse over the TabLayoutPanel...

How to retrieve uploaded files from (Java) GAE datastore?

Hi guys, first of all, sorry I'm a GAE noob so there are lots of things that I need specific answers. My problem is that I have successfully created a servlet that allows the app users to upload their files. Basically, I created an entity with a Blob attribute to store the file's contents. The uploaded file is made persistent in the data...

Remove + (Plus sign) next to GWT Tree's Root Item

I wondered if anyone knew whether it was possible to remove the '+' Sign that appears next to the root item in a GWT Tree? I didn't see a CSS rule to handle it. Can one replace the + sign with say, a GIF? (Adapted code from GWT manual below, for illustrative purposes) TreeItem root = new TreeItem("root"); // Wish to remove + sign from ...

convert String to Date on GWT

How do I convert String to Date or Date to String using GWT 2.0.3? ...

Amazon S3 Uploads From GWT App

Hi. How would I go about uploading files to S3 from a Google Web Toolkit page? Ideally, it would all be done asynchronously, allowing me to display a progress bar. ...

grid colspan does not work for IE in GWT

I was created the grid in GWT and set the attribute colspan for one row... gridSample.setWidget(0, 0, new HTML("Can you improve this checklist? Please rank and submit your comments below")); gridSample.getCellFormatter().getElement(0, 0).setAttribute("colspan", "4"); The colspan does not work for IE... ...

How do you format a date range in Java?

I have two dates - a start and an end. I'd like to format them so that if the months match, they collapse to something like "20-23 AUG" and still format correctly if they break over the end of the month, like "20 SEP - 1 OCT". Are there any libraries out there for accomplishing this, or would I have to hand code rules for displaying ra...

Gwt ClientBundle can't find images

A ClientBundle works fine in my main project: com.example.project.client.Bundle Another ClientBundle in my library compiles into a jar just fine: com.example.library.client.Bundle Compiling my project when it depends on the library fails: [ERROR] Errors in 'jar:file:/C:/work/library.jar!/com/example/library/client/Bundle.java' [ERROR...

Maturity of Script# (in comparison to GWT)

Hello everybody! I already spent some time developing small projects with the GWT and I recently discovered Script#. Now I am curious about how mature this toolkit is. I am especially interested in the opinion of someone who tried both GWT and Sharp# and therefore is able to compare the two. How mature is Script#? Is it true that it is...

Is there a way to determine if GWT code is running in development mode?

I'm working on a GWT application and would like to branch some logic based on whether the code is running in development mode or is live in production. For example, when the code needs to make an AJAX call we would like to set the URL depending on mode. ...

gwt response at run as web application

Hi, In my gwt application,i am using php code for back end process...i can get response from that php file when i deploy on iis server... but i can't get response from that php file when i running from the eclipse... (i.e) can get response from this url "http://localhost/sample/index.php" can't get response from this url "http://local...