gwt

GWT Deferred Binding for loding only required classes in catch

Dear All, We have product, who's front end is in GWT. As it contains many classes (Around 150 menus, you can imagine now) When user access this first time, it takes time to load. (If bandwidth is low then this increases) next time on wards it remains in catch, we dont have to worry about bandwidth. Can i reduce this first ti...

Something like GWT but without compiling

Hi folks, I'm studying Computer Science in Germany and recently stumbled upon Web Services and Google Web Toolkit. I thought: "Great, define buttons, input fields, panels, ... just hit compile and it works" Then i thought: "Why hit compile? ..." Question: Is there a technology where I can define buttons, panel, input fields, ... on t...

How to set item renderer for ListView in ext-gwt?

I have a ListView in ext-gwt and I'm adding some custom data to it. How can I set an item renderer on the ListView? As of right now, whenever an item is added, there's just a small line representing each entry in the view. Here's my basic code: import com.extjs.gxt.ui.client.store.ListStore; import com.extjs.gxt.ui.client.widget.Lis...

How to do single row expansion with CellTable?

I'm trying to use the new GWT CellTable widget but my table needs to support one row expansion, i.e. there is a zippy on the left of a row and when it's clicked, the row should expand to provide more detail information and this row should span across all columns. Is it possible to achieve this with the CellTable? How do I add a row that ...

Means of caching in GWT

What is the best way of caching things in GWT. Data retrieved from RPC calls. I am interested in Data Structures and frameworks available out there, like ehcache. I am using gxt and have been storing things in the FastMap. What is the load capacity for the FastMap, is this the best way to do things. I know it eventually compiles to jav...

How can i add click handler to x-label element of gwt-visualisation chart

Hi Guys, I am using gwt-visualisation chart But is there any way to add click handler to x-label Thanks ...

GWT MVP architecture advantages

Hi All, I am learning GWT and i have read at multiple places that using MVP architecture is best suitable to develop a GWT Application I have also read that its easy to do testing using the MVP ARCH.Can somebody explain me why its easy to do testing using the MVP architecture. Also i am working on a project using MVP and i find it ver...

How does GWT instantiate a Java interface class

I created the default "hello world" GWT application and noticed that it has the following default code: /** * Create a remote service proxy to talk to the server-side Greeting service. */ private final GreetingServiceAsync greetingService = GWT.create(GreetingService.class); I was wondering how this is possible since the declaration...

GWT problem with Remote Procedure Calls (RPC) and persistent Java objects

Hi, I'm developing a java application using GWT that is hosted on GAE. I'm dealing with RPC for the interaction between the client and the server. The client requests a University to the server via RPC, the server does a query with JDOQL to retrieve the information stored on the GAE database. Until now everything is going well but I ...

What is a secure way to pass login and password from a client to a server during authentication?

I've just set up a proxy and run all my request through that proxy. I investigated several different applications: they pass login and password pair raw, i.e. I can grab them from POST-request parameter. How should it be implemented to make it more secure? (I haven't investigated gmail and facebook yet, but I think they don't have thi...

run gwt in server mode

hi, I'm trying to use eclipse 3.6 with Google Web Toolkit and I don't see there an option to run the app on the server. When I click on Run, there is automatically the hosted mode, when I click the Run as... there is option 1. Run as application , 2. Run as applet - which is useless, 3. Run as Web application - which leads to running in ...

GWT, LAMP or a Framework? choosing the right technology for a web application

Hi all, after scanning stackoverflow I stil could not find a good answer to a simple question: you want to develop a SaaS business app that has all the typical features: reports, forms, user administration etc. You don't want a CMS but develop it from scratch. what technologies would you choose? at first glance, many of you would say ...

GWT component spacing on HorizontalPanel

Hi, I have the following code to layout the menu for my page: //Header Conainer Panel VerticalPanel headerWidget = new VerticalPanel(); headerWidget.setWidth("100%"); //Header Panel HorizontalPanel headerPanel = new HorizontalPanel(); headerPanel.setStyleName("header"); headerPanel.setWidth("100%"); Label title = new Label("Informati...

How does GWT "know" which DOM element you've just selected?

It has been a while since I've touched GWT, but I was recently looking at GWT applications to see how they accomplished certain tasks. I noticed that if you go into AdWords (a GWT application), you can manipulate table information in-line. For example, if I go into my campaign and click the pencil icon next to the ad group, a little popu...

GWT pasting event

Hi, I want to handle events when user pastes some text in TextBox. Which event is fired in this situation? I tried ValueChange and Change handlers, but they didn't work. ...

How to download a file using GWT client ?

What is the best way to download a pdf file using GWT client ? Should I invoke a normal servlet to do that ? or is there a different preferred approach to handle this problem ? I am new to GWT, so if some sample code would be of great help. Thanks Deep ...

GWT native event does not provide intended behavior

I have a text widget where I want to make enter event to behave like a tab event. so I capture the Key press event and raise a tab native event. However the tab behavior is not reflected in the application. The code for event handler is public void onKeyPress(KeyPressEvent event) { int keyCode = event.getNativeEvent()...

GWT set variable values with Django templates.

I am using a tree control in my GWT application. The tree has different items based on the user logged in. One way to populate the tree would be to query the server from my GWT code to get a list of tree items. But since the items will always be shown would it not be better to include information regarding them in the page itself? I am l...

Dynamical active image areas and event handling in GWT

Hi, I'm using Google web toolkit for some project mapping seismic activity of some land area. The request from users is to create a map which marked points. When user will click on some point, more detailed information is shown. So, I need to be able to draw some particular areas on a common image. Areas should be dynamically drawn (s...

GWT RPC method name at App Engine server log

Hi, our project runs on GWT and Java App Engine and we use the standard GWT RPC mechanism. App engine adds log trace for each RPC call, but it just logs the servlet URL and not the called method. We would like to add the method name to the log URL. We have tried extending RpcRequestBuilder class, overriding doCreate and adding the metho...