Re: ClassCastException when using Code Splitting

2013-06-26 Thread RobV
The code has a class with multiple constructors as described in the issue. The fix has resolved the problem. Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails

Re: Can't deploy my project anymore

2013-06-26 Thread Jack Gage
So, I worked on this for a while and basically didn't come up with anything... I think that the context-menu deployment feature is not part of GWT 2.5.1. To get around it, I have a two-step process: I compile my project with the GWT Toolbar Button > GWT Compile project option. This compiles t

Re: RequestFactory validate entity

2013-06-26 Thread Thomas Broyer
On Wednesday, June 26, 2013 4:09:55 PM UTC+2, Miklós Szabó wrote: > > Hi! > > I've a question on bean validation using RequestFactory. Here's my > scenario. > > There's an application based on Spring Framework with a service layer. A > WebApplicationContext is initialized and the services can b

Re: GWT plugin support for Eclipse Kepler (4.3)

2013-06-26 Thread Thomas Broyer
On Wednesday, June 26, 2013 10:08:10 PM UTC+2, James Wendel wrote: > > I checked the issue tracker for GWT and the google-plugin-for-eclipse and > I didn't see any open issues for Kepler (4.3) support. Is this something > Google is already working on or should I open an issue on this? (and if

Re: gwt-maven-archetype modular-webapp giving 404 Error

2013-06-26 Thread Thomas Broyer
On Wednesday, June 26, 2013 11:14:53 PM UTC+2, Kathiravan Tamilvanan wrote: > > I have just used the gwt-maven-archetypes to create a modular-webapp. When > i followed the steps to run the application. Everything seems to be > successfully running but the page throws a 404 error on > http://lo

gwt-maven-archetype modular-webapp giving 404 Error

2013-06-26 Thread Kathiravan Tamilvanan
I have just used the gwt-maven-archetypes to create a modular-webapp. When i followed the steps to run the application. Everything seems to be successfully running but the page throws a 404 error on http://localhost:8080 when launched. I have not changed anything from the archetypes output. Ap

GWT plugin support for Eclipse Kepler (4.3)

2013-06-26 Thread James Wendel
I checked the issue tracker for GWT and the google-plugin-for-eclipse and I didn't see any open issues for Kepler (4.3) support. Is this something Google is already working on or should I open an issue on this? (and if so, would that issue be against GWT or the plugin project)? Thanks, -James

Re: Can't deploy my project anymore

2013-06-26 Thread Magallo
How can be possible that nobody of the Eclipse/GWT Team has nothing to say about?! On Friday, June 21, 2013 5:17:08 PM UTC+2, Jeff Smith wrote: > > I did not figure out a solution (I reverted back to an older version of my > project with get 2.5). > > Perhaps you should create a brand new get 2.

Re: Session Listener

2013-06-26 Thread Magallo
Ok, it works! Thanks! My mistake was to think that the sessionCreated event was created when the application started. Shame on me! The sessionCreated is called instead the first time the application interacts with the server. Another wrong assumption by me was that I thought the sessionDestroy

Re: Is there a way to create "cross-platform scripting" in GWT?

2013-06-26 Thread Carl Roach
Why not use Strings in that use case? On 26 June 2013 16:16, Sebastien Diot wrote: > On Wednesday, June 26, 2013 4:55:19 PM UTC+2, Carl wrote: >> >> wrt numbers in JavaScript... >> >> All numbers in JavaScript are stored as 64-bit (8-bytes) base 10, >> floating point numbers. This will probably

Re: Is there a way to create "cross-platform scripting" in GWT?

2013-06-26 Thread Sebastien Diot
On Wednesday, June 26, 2013 4:55:19 PM UTC+2, Carl wrote: > > wrt numbers in JavaScript... > > All numbers in JavaScript are stored as 64-bit (8-bytes) base 10, floating > point numbers. This will probably provide enough space for your IDs. > This is only true if you assume my IDs start with 0/1

Re: Is there a way to create "cross-platform scripting" in GWT?

2013-06-26 Thread Carl
wrt numbers in JavaScript... All numbers in JavaScript are stored as 64-bit (8-bytes) base 10, floating point numbers. This will probably provide enough space for your IDs. On Wednesday, 26 June 2013 12:06:42 UTC+1, Sebastien Diot wrote: > > Hi. > > I would like to make a "web game" with GWT,

RequestFactory validate entity

2013-06-26 Thread Miklós Szabó
Hi! I've a question on bean validation using RequestFactory. Here's my scenario. There's an application based on Spring Framework with a service layer. A WebApplicationContext is initialized and the services can be used by firing RequestContext on client side. Let's suppose I wanna save an enti

Is there a way to create "cross-platform scripting" in GWT?

2013-06-26 Thread Sebastien Diot
Hi. I would like to make a "web game" with GWT, and have some of the code "scripted" rather then compiled, to allow dynamic updates/tweaking without rebuilding and re-deploying. Now the hard part is, what scripting language could I use to execute the scripts that would both run within the JVM

Re: CellTable - TextColumn.getValue (null) - another strange problem

2013-06-26 Thread Magnus
Am Mittwoch, 26. Juni 2013 10:10:17 UTC+2 schrieb Thomas Broyer: > > Looks like > https://code.google.com/p/google-web-toolkit/issues/detail?id=7030 Thank you! > This can cause a call to the Column's getValue(T object) with a null > value, when the HasDataPresenter.setVisibleRange is calle

OOP question for remote logging

2013-06-26 Thread Leung
Hi, I am using java.util.Logger for remote logging. The Logger is called by the client side objects. Other than instantiate Logger for every class on the client side, is there any way to put it in a separate class? (OOP way). Thanks -- You received this message because you are subscribed to t

Re: Requestfactory, Embedded objects and .with

2013-06-26 Thread aurelie . virgile
Oh... thanks Thomas for the link and your answer which make sense. Sorry about this silly question, was looking into domain object Le mercredi 26 juin 2013 10:04:22 UTC+2, Thomas Broyer a écrit : > > > "phones" is the name of the property, corresponding to a getPhones() > getter (note: on the pro

Re: ClassCastException when using Code Splitting

2013-06-26 Thread Jens
If you can not use master, try to chain your constructors so that they end up in the same split point to workaround the issue, e.g. Person() { this(null); } Person(String name) { this(name, null); } Person(String name, Integer age) { ... } -- J. -- You received this message because you

Re: CellTable - TextColumn.getValue (null) - another strange problem

2013-06-26 Thread Thomas Broyer
Looks like https://code.google.com/p/google-web-toolkit/issues/detail?id=7030 On Wednesday, June 26, 2013 8:23:13 AM UTC+2, Magnus wrote: > > Hello, > > after setting an UncaughtExceptionHandler with > GWT.setUncaughtExceptionHandler() > for the first time, I see a new NullPointerException that

Re: ClassCastException when using Code Splitting

2013-06-26 Thread Thomas Broyer
On Wednesday, June 26, 2013 7:54:13 AM UTC+2, RobV wrote: > > I am working on a large application (greater than 500K lines of code) > written using GWT. I am working on new screen for the application, and > have come across a problem with the code splitting as follows: > > - The code works suc

Re: Requestfactory, Embedded objects and .with

2013-06-26 Thread Thomas Broyer
On Wednesday, June 26, 2013 9:03:47 AM UTC+2, aurelie...@gmail.com wrote: > > Hi chaps, > > Have a problem understanding one thing regarding .with > > In the following > example

Requestfactory, Embedded objects and .with

2013-06-26 Thread aurelie . virgile
Hi chaps, Have a problem understanding one thing regarding .with In the following example , http://code.google.com/p/gwtinaction2/source/brow

Re: Simple UiBinder question about

2013-06-26 Thread Ivan Bahdanau
Here is kind-a workaraound that worked for me: in cell widget declarative ui add following: ... ... = In the code then: = ... interface MyUiRenderer extends UiRenderer { ... void render(SafeHtmlBuilder sb, ..

ClassCastException when using Code Splitting

2013-06-26 Thread RobV
I am working on a large application (greater than 500K lines of code) written using GWT. I am working on new screen for the application, and have come across a problem with the code splitting as follows: - The code works successfully when run in Development Mode. - The code fails with a ClassCa