gwt

gwt encodedRequest cannot be empt

I am using gwt1.5, struts2, spring and hibernate. I am getting following error: ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/project name] - Exception while dispatching incoming RPC call java.lang.IllegalArgumentException: encodedRequest cannot be empty This error only occurs with IE, but it is working perfect...

Do all J2ME phones support JavaScript?

Are there any J2ME phones that don't support JavaScript? And are there generally limitations on the JavaScript that is supported / portions of the language that aren't implemented? ...

Mocking inside a Java class

So I have this GWT code that handles RPC requests maintain states(ready, waiting, error etc). And I would like to check if the class change its states correctly after each call, set response variables etc. Now how should I proceed to test that without making actual requests to the server(that could run into errors in the server it self)...

GWT Scaffolding

Is there something similar to Ruby on Rails Scaffolding for creating GWT CRUD? ...

Deployment: GWT vs. Silverlight

I'm in the early planning phase for a project and determining whether to use Silverlight or the Google Web Toolkit (GWT). There are obviously a lot of things to consider, but this question is specifically concerning deployment. This application is intended for intranets; i.e. it is not a hosted website and is intended to be deployed at...

Google Web Toolkit -- only for Gmail type applications?

I am trying to build a web application, similar in feel to something like GMail, with one persistent AJAXy page. I am told that GWT is the way to do this most effectively. However, I also want a framework that I can use for other things besides single AJAXy pages. Is GWT more scalable than this, or should I spend the time and build this...

gwt+comet need configure tomcat?

hi, i am refering to this tutorial http://www.jroller.com/masini/entry/a_comet_implementation_for_google . is it a must to configure tomcat when using comet? can gwt+comet run on hosted mode or required -noserver? ...

What's your recommendation for architecting GWT applications? MVC, MVP or custom messaging solution?

Hello, I just started a new GWT project for a client and I'm interested in hearing people's experience with various GWT MVC architectures. On a recent project, I used both GXT MVC, as well as a custom messaging solution (based on Appcelerator's MQ). GXT MVC worked OK, but it seemed like overkill for GWT and was hard to make work with br...

Firing click event from code in gwt

Hi I have created a custom widget in gwt which extends the composite.I am using focus panel in that.For FocusPanel I added ClickHandler.Then I have added keyboard listner.Now on press of Enter key it should trigger click event.Can any one help me to trigger click event by using code in GWT? focusPanel.addKeyPressHandler(new KeyPressHa...

md5 hash for password string in GWT/GWT-Ext?

Hi everyone, I am currently trying to modify an existing GWT-Ext application, that is using plain text passwords in its MySql database. My plan was to use md5 hashes, as the existing passwords can be easily altered with the MySql function and I was expecting to find an easy solution for the GWT-Ext side as well. But as I found out, jav...

Has anyone used GWT and can say it really delivers what it promises?

I am a long time Java web developer and as most web developers I have used quite a lot of JavaScript. Even though I don't hate JavaScript as many other Java developers, I am still aware of its faults. GWT is a way to write javascript using java. Since I know both languages for a long time I am pretty skeptical about this claim. I mean,...

Cross site scripting(XSS)

I am loading content from another page and depending on the content of page, changing content of my page and this is giving me cross site scripting issues. When i use iframe, since the content is from other domain, content of iframe becomes inaccessible. When i use ajax and try to inject the content as plain html code, XmlHttpRequest o...

Adding resize listener/handler to VerticalPanel in GWT

How do I add a listener/handler to a VerticalPanel such that it is triggered when the VerticalPanel changes in size? I've basically tried the following: VerticalPanel myPanel = new VerticalPanel(); //... code to add child widgets that may change the size of the parent vertical panel ... myPanel.addHandler(new ResizeHandler() { publi...

Up to date gwt-incubator jars for Maven

I want to use the latest gwt-incubator drop - gwt-incubator-july-14-2009.jar - in a Maven project. The most recent version published on central is 1.5-Dec_28. Is there a more up-to-date maven repo for the gwt-incubator jar? ...

Is it possible to implement cross-browser username/password autocomplete in GXT?

Last night, I did a quick spike to try and implement username/password autocomplete in my GXT application. By "autocomplete", I don't mean Ajax-style autocomplete, but rather browser-based autocomplete. The best information I found on this via google is in the following post: http://osdir.com/ml/GoogleWebToolkit/2009-04/msg01838.html I...

Advanced GWT Components theme CSS not being loaded

I'm trying to use the AdvancedTabPanel of the Advanced GWT Components library. I've put the JAR file under war/WEB-INF/lib and added to my classpath in Eclipse, and added to my HTML file: <link id="advancedTheme" type="text/css" rel="stylesheet" href="./advanced/themes/default/theme.css"/> Although it finds the Java classes and loads ...

Simple GWT hosting

Hi, I have designed a website with the GWT, This is purely a static site and it doesnt have any servlet or any rpc part involved in it. Its just a plain static pages in GWT .I have compiled with the GWT and there are all related html ,.js files are present in the public folder. Now i want to host the same in any of the web host. Good ...

GWT: Creating a scrollable FlexTable in a full-screen TabPanel

I'd like to create a TabPanel that occupies the entire browser client area, and inside that put a FlexTable that scrolls if necessary. However, I'm having trouble acheiving this. I've tried: public void onModuleLoad() { TabPanel test = new TabPanel(); test.setSize("100%", "100%"); FlexTable flex = new FlexTable(); for (int i = 0; i...

Google Web Toolkit like application in Django

I'm trying to develop an application that would be perfect for GWT, however I am using this app as a learning example for Django. Is there some precedence for this type of application in Django? ...

GWT conditional compile

I'm using the same source code for a GWT 1.5 and GWT 1.7 application. I'm wondering is there a way to conditionally compile parts of the java code for one or the other version. I know there is a way to do it for widgets and browsers in the module XML file. ...