Best way to implement place attributes in gwt.

2014-09-15 Thread VaraKalyan Maddi
Hi all, I am new to gwt places and activites framework. I am searching for best ways to add place parameters for a place class. Each place needs a set of attributes on actions and a page name. 1. How about having a hashmap of attributes in place. But it looks odd in the URL if i returns

GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Justin Zhang
Hi GWT experts, I had a problem with the GWT-RPC on 2.2.0 and above. I have a generic service interface which serves as multiple RPC requests depending on the value of event parameter: @RemoteServiceRelativePath(Service) public interface Service extends RemoteService {

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Thomas Broyer
On Monday, September 15, 2014 6:57:24 AM UTC+2, Justin Zhang wrote: Hi GWT experts, I had a problem with the GWT-RPC on 2.2.0 and above. I have a generic service interface which serves as multiple RPC requests depending on the value of event parameter:

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Jens
Ah come on. Just wanted to post and that yellow notification box pops up.. ;-) This was a really bad idea. You should use the most specific types as possible in your RPC interfaces and transfer-objects (it's not news, it has always been that way, it's just become stricter over time). I

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Joseph Lust
Curious, is there a way to enable compiler logging to note just how many types you're RPC serializers are being compiled to handle? I think that might provide clarity into these blackbox situations and draw attention to the RPC type explosion problem from folks that would otherwise miss it.

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Andy Stevko
I gotten around the problems with using Object in my async apis by defining a api that declares the possible types (native custom) as parameters so that they get included within the serialization policy. Without that policy, anybody can pass any type in the response and it will be de-serialized -

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Andy Stevko
P.S. Thomas is correct - you will be better off upgrading to Super Dev Mode rather than re-tooling to a Dev Mode which is reaching end of life. On Mon, Sep 15, 2014 at 9:11 AM, Andy Stevko andy.ste...@gmail.com wrote: I gotten around the problems with using Object in my async apis by defining

SplitLayoutPanel - how to move splitters on a tablet?

2014-09-15 Thread Magnus
Hi, how can you move the splitters of a SplitLayoutPanel on a tablet? Magnus -- 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 from it, send an email to

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-15 Thread Manuel Carrasco Moñino
Hi Thomas, I've tried the snapshot and seems that DevMode with -superDevMode option is not being passed. I tried either, set superDevModetrue/superDevMode in my pom.xml and run mvn gwt:run -Dgwt.superDevMode=true but in both cases DevMode.main is not receiving the -superDevMode argument. Am I

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-15 Thread Thomas Broyer
Doh, don't know why, I'm passing nosuperDevMode if superDevMode is false, as if it's enabled by default in GWT. Will fix as soon as I find a computer. Le 15 sept. 2014 20:45, Manuel Carrasco Moñino man...@apache.org a écrit : Hi Thomas, I've tried the snapshot and seems that DevMode with