gwt

GWT CSS Resource to find all classes

What i want to do is: I have css file read from a file into a String. I would like to build some kind of css resource (CssResource ?) out of that string or file, and I'd like to be able to extract from it all classes and id selectors in some kind of collection which i could search. Does anybody know how to do that ? ...

Combobox having values but not showing text

hi, I'm using GWT-EXT combobox. My problem is when I render the combobox, it's having as many rows as it has values but all the rows are empty means text is not shown. Here's my code. Combobox cb = new Combobox(); cb.setForceSelection(true); cb.setMinChars(1); cb.setWidth(200); cb.setStore(store); // Store is perfectly loaded in co...

Examples for com.google.gwt.app.place from GWT 2.1

The com.google.gwt.app.place package is new in GWT 2.1 which came out yesterday. Do you have any example on that API? How do I effectively use it? The GWT samples does't help at all. ...

Handling connection timeout in GWT

I am using GWT and PHP and communication is via the RequestBuilder class, but I need to handle internet connection present or not and show some message but RequestBuilder class supports RequestCallback interface which cannot handle internet connection present or not. What is the solution? ...

Display image stored as blob using GWT RPC

I'd like to display images I've stored as Blobs in a GWT rendered page using RPC. I don't want to use a servlet because then loading the images is synchronous, and if I have many images can slow down the page load times. Any ideas? ...

[GWT] Change Element's node name?

Is it possible to change the element's node name in GWT? I mean something like this: HTML h = new HTML(); h.getElement().setNodeName("mydiv") while there is no setNodeName() method for Element. I'd like to acquire <mydiv>some contents</mydiv> instead of default tag <div>some contents</div> Thanks for any hints. ...

GWT designing using java programming

Hi.. I have created one gwt application. In the client package i inculded two java file contains gwt coding. In the first java program i included one Hyperlink when this Hyperlink is clicked it should redircted to Second file which also contains some GWT coding. I dont know how to redirect the java file. Help me on this issue... Rega...

Beginning GWT and Java - wich is the best route when coming from LAMP background?

Hi! I've worked a lot with php/mysql on linux servers, including frameworks, orm etc. Now I want to give GWT and Java a try! Installing GWT SDK, Eclipse plugin etc and running a "Hello world" is no problem. The server is running automagically in the background, taken care of by Eclipse. But when it comes to setting it up my self, there ...

Add a DoubleClickHandler to a FixedWidthGrid

Hello so I got a FixedWidthGrid table which is made from a pagingtable FixedWidthGrid dataTable = x.getDataTable(); I could add alot of handlers to the dataTables rows like selected or sort policies. but I cant add a double click handler ... any idea's ?! thank you I do have a class which I made to try to add a double click hand...

GWT now has spring roo support, what will this mean to GWT developers?

I have been using GWT with App Engine for a while now. Recently there was an announcement that GWT will support Spring Roo and SpringSource Tool Suite (http://googlewebtoolkit.blogspot.com/2010/05/gwt-21-milestone-1-is-now-available.html). I am having trouble seeing the big picture from the Google announcement page. For those without muc...

Security when using GWT RPC

I have an POJO in Google Web Toolkit like this that I can retrieve from the server. class Person implements Serializable { String name; Date creationDate; } When the client makes changes, I save it back to the server using the GWT RemoteServiceServlet like this: rpcService.saveObject(myPerson,...) The problem is that the user s...

Problem with Google Web Toolkit Maven Plugin

I got an error following the PetClinic GWT application in less then 30 minutes Any idea? SOLVED after delete the C:\Users\user.m2 directory C:\Users\user\Desktop\petclinic>mvn -e gwt:run + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [IN...

Where to go from PHP?

I'm a seasoned PHP programmer and I really like the way it works and find it very fun to work with (performance could be improved and some functions renamed, but nothing too serious). However, I took a java seminar and now Im very interested in using GWT for upcomming projects, although I think the learning curve can be steep. Should I...

Trouble getting started with Spring Roo and GWT

I am trying to get started with SpringRoo and GWT after seeing the keynote... unfortunately I am stuck at this issue. I successfully created the project using Roo and added the persistence, the entities and when I perform the command "perform package" I get this error: 23/5/10 12:10:13 AM AST: [ERROR] ApplicationEntityTypesProcessor ca...

How to use GWT 2.1 Data Presentation Widgets

At the 2010 Google IO it was announced that GWT 2.1 would include new Data Presentation Widgets. 2.1M is available for download, and presumably the widgets are included, but no documentation has yet surfaced. Is there a short tutorial or example for how to use them? I've seen a rumor that CellList and CellTable are the classes in quest...

Unable to view GWT 2.0.1 application in IE8.

Hi, I'm creating an application using GWT 2.0.1; it complies 6 computations and runs well in all browsers except IE8, it shows a blank page( but can be viewed in IE8 compatibility mode) . When I add the line in my gwt.xml <set-property name="user.agent" value="ie8" / > it compiles just 1 permutation and the application displays fine...

CSSOMParser in gwt client side

What i would like to do is to read an css file from a GET request on the client side, and then i would like to parse it to check all the classes. The problem is that I need to implement CSSOMParser for that, and here are the imports import org.w3c.dom.css.CSSRule; import org.w3c.dom.css.CSSRuleList; import org.w3c.dom.css.CSSStyleR...

Too slow gwt develpment mode !

I'm using eclipse galileo with latest GWT 2.0 version in development mode, but it runs really slow (i should wait about 1 minute to open one page, but after compilation, my application works very well when I run it using tomcat 5.5). My code is not too heavy & i guess there is an os-related or software inconsistency problem, because I'd ...

GWT 2.0 Visual Layout Tools?

Are there any tools that would assist us less artistic types in GWT 2.0 layout that use GWTxl? I'm fairly CSS impaired and would like to see how my changes look "on the fly". ...

How can I make GWT list box editable a part from selection

Hi, As per my requirement I have written a custom panel which will display three ListBoxes to enable user to select date from this custom list boxes.These three list boxes are responsible for showing month,day,year value. Now I would like to make my three list boxes are editable and at the same time selectable. I mean I would like to pro...