Compiler options

2011-01-05 Thread rmuller
What is the difference between -optimize 0 and -draftCompile? I do no see any difference in terms of compilation speed and js file size. In terms of compilation speed there is *very* little difference between -optimize 0 and -optimize 9. So in what scenarios are these relevant? Regards, Ronald

SerializationException appear suddenly if deployed to production

2010-02-03 Thread rmuller
I am working with GWT 2.0 since it is released and it is working fine. Till today.. Now I get a lot of SerializationException's even for enum's. See below. Permissie is just a normal enum. Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'xxx.Permissie' was not assignable to

Javascript errors GWT 2.0 / Firefox 3.0

2010-02-01 Thread rmuller
I am using GWT 2.0 and Firefox 3.0.17 I get these two errors, reported by the Firefox error console: Error: $entry(__gwt_makeTearOff(null, 7667759, 0)) is not a function Source File: http://localhost: Line: 7 and: Error: Permission denied to get property HTMLInputElement.tagName Source

Re: Is IsSerializable depreciated?

2010-01-27 Thread rmuller
I always implement IsSerializable: - your intention is more clear (Serializable for GWT) - I also noticed Serializable does not always work - you do not have the restrictions of Serializable (serialVersionUID, public non-arg ctor) So, to answer your questing: No. Support for Serializable is just

Re: MVP Question

2010-01-26 Thread rmuller
one. The idea of DI is to keep your code clean and in both cases it is done. Regards Jan Ehrhardt On Mon, Jan 25, 2010 at 6:15 PM, rmuller rmul...@xiam.nl wrote: Hi Jan. Guess what .. I am reading Dependency Injection (Dhanji R. Prasanna) at this moment :) So this was one

Re: MVP Question

2010-01-25 Thread rmuller
Inection is one of the best practices in GWT (and Java too) development (http://www.youtube.com/watch?v=PDuhR18-EdM) Regards Jan Ehrhardt On Mon, Jan 25, 2010 at 2:54 PM, rmuller rmul...@xiam.nl wrote: Should not the Presenter create the view? Sometimes you need different views (based

Set the title attribute of option elements in ListBox

2010-01-11 Thread rmuller
Using the standard GWT API this is not possible. Is there a hack available? Ronald -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group,

UiBinder MenuBar

2010-01-06 Thread rmuller
Is there a way the set the Command property of the MenuItem when the menu is declared by UiBinder? Of cause i can declare a UiField for every MenuItem. But that is not what I want. Ronald -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Serialization issue with generic Maps

2009-04-16 Thread rmuller
The problem is you cannot use Object as a type argument Regards, Ronald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Configure tmp directory used by deferred binding

2009-03-06 Thread rmuller
Thank you Ian, that was where I was looking for. I now added this in my build.xml (GWT 1.6): java failonerror=true fork=true classname=com.google.gwt.dev.HostedMode ... arg line=-gen ${basedir}/src/gwt-gen/ /java java failonerror=true fork=true classname=com.google.gwt.dev.Compiler

Configure tmp directory used by deferred binding

2009-03-05 Thread rmuller
on my system (Ubuntu) it is set to /tmp. I want to use an other path. Is this possible. If yes, how? regards, Ronald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: Deferred binding based on annotation

2008-12-15 Thread rmuller
Hallo Sumit, That is good news and exactly the info i was looking for! I hope this will be included in 1.6 Thank you, Ronald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: are the GWT books on amazon any good?

2008-12-15 Thread rmuller
Hi Will, Highly recommended: http://www.amazon.com/gp/product/0321501969/105-5731162-7905258?ie=UT... If you are new to GWT, this is all you need. Regards, Ronald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Deferred binding based on annotation

2008-11-28 Thread rmuller
Hallo, Is it possible to trigger deferred binding based on an annotation, so: generate-with class=example.rebind.FooGenerator when-*annotated* class=example.client.Baz / /generate-with So you can use it like this: Foo foo = GWT.create(class annotated by Baz) Regards, Ronald