Googlebot visits results in exception ?

2012-03-03 Thread Ed
Hi, Once in a while Googlebot comes by an ajax app made with gwt which results in an Exception. I don't understand this and have no idea where to start :( The page contains a login form and about 8 links. I don't use any anchor links (just div's with listener like the GWT Button for example).

Re: Selecting list items from history actions using Activities and Places

2012-03-03 Thread Chris Price
Does this line not fire that event for you - https://github.com/chrisprice/menubodyexample/blob/master/src/com/scottlogic/cprice/menubodyexample/client/menu/Menu.java#L48 On 2 Mar 2012 20:57, Shaun Tarves sh...@tarves.net wrote: This worked out fine. However, the obvious issue is that it's

Re: Selecting list items from history actions using Activities and Places

2012-03-03 Thread Shaun Tarves
What I meant is that in your app structure, you'll typically have a call to initBrowserHistory pretty early on. That will fire the initial placeChangeEvent. When that happens, the activity containing the menu hasn't event been started yet (or likely instantiated even), so the placeChange handler

Re: Selecting list items from history actions using Activities and Places

2012-03-03 Thread Chris Price
I see what you're getting at. Not that it helps, but that link was meant to be - https://github.com/chrisprice/menubodyexample/blob/master/src/com/scottlogic/cprice/menubodyexample/client/Menubodyexample.java#L48 i.e. historyHandler.handleCurrentHistory(); On Sat, Mar 3, 2012 at 1:39 PM, Shaun

Re: Selecting list items from history actions using Activities and Places

2012-03-03 Thread Shaun Tarves
That's pretty much the same way my app is set up, so you can see the problem. Like I said, I solved it by essentially repeating the same code as in the placeChangeHandler in the activity start() method, but it seems little hokey. Any ideas how to make this a little cleaner? - Shaun On Mar 3,

How to host GWT app on remote server

2012-03-03 Thread dhoffer
I have a case where I'd like to use GWT to create a small part of an existing HTML page/app, however that server doesn't have a J2EE server to host the GWT app. How can I host the GWT app on a different server? I.e. I have full control over changing the HTML page to do whatever..how can I modify

Re: How to host GWT app on remote server

2012-03-03 Thread David Hoffer
I read at http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html a discussion about this. I like the second option of dynamically loading javascript in a script tag. However its not clear to me if I can do what I want. That discussion is for the stock watcher application which I don't

Re: Design question - Multiple step customer registration process

2012-03-03 Thread Olivier
Hi Alfredo, Thanks a lot for your feedback, it was exactly what I was looking for ! Very much appreciated, Hugues On 3 mar, 06:14, Alfredo Quiroga-Villamil laww...@gmail.com wrote: A view with a Card Layout (DeckLayout) should help you there. You are essentially building a wizard like form

Re: How to host GWT app on remote server

2012-03-03 Thread Thomas Broyer
For JSON-P, have a look at the JsonpRequestBuilder: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html There's also http://code.google.com/p/gerrit/source/browse/?repo=gwtjsonrpc which does JSON-RPC with support for cross-site

Unable to perform GWT compilation on eclipse

2012-03-03 Thread San
Hi, I am getting below exception during GWT compilation on my eclipse generated sample GWT application. However, I am able to run the same GWT application in GWT development mode without any issues. Compiling module test.Test Compiling 6 permutations Creating PermutationWorkerFactory