Re: Unknown property: checks.type

2016-06-01 Thread Kirill Prazdnikov
Thanks for help, I really was surprised when switch from beta1 to SNAPSHOT breaks everything with org.codehaus.mojo. I managed to build with net.ltgt plugin. Thanks четверг, 2 июня 2016 г., 0:42:29 UTC+3 пользователь Jens написал: > > With the plugin from codehaus you probably have to use

JsInterop and default settings in JS structures - how to handle?

2016-06-01 Thread Hristo Stoyanov
Hi all, This is a pretty common in the JS world, but take a look at this JS library , which as part of its API has settings/options for configuration, where options are done with something with JS structure like: *{* * ...* * isContainer: function (el) {

Re: Unknown property: checks.type

2016-06-01 Thread Jens
With the plugin from codehaus you probably have to use 2.8-beta1 as plugin version but in addition tell the plugin to use 2.8-SNAPSHOT as GWT version. To do so, see: https://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html When using the net.ltgt

Re: Unknown property: checks.type

2016-06-01 Thread Kirill Prazdnikov
when I switch to another plugin net.ltgt.gwt.maven gwt-maven-plugin it shows: [INFO] --- gwt-maven-plugin:1.0-SNAPSHOT:compile (compile) @ demo --- [WARNING] Error: Could not find or load main class com.google.gwt.dev.Compiler -- You received this message because you are subscribed to the

Re: Unknown property: checks.type

2016-06-01 Thread Kirill Prazdnikov
This is strange. I use maven and the project compiles perfectly well with 2.8.0-beta1, also SDM starts and works. I use org.codehaus.mojo gwt-maven-plugin ${gwt.version} But when I change to 2.8.0-SNAPSHOT it crashes with: [INFO] ---

Re: Getting username from url only works after refresh

2016-06-01 Thread Olar Andrei
This is the ActivityMapper public class AppActivityMapper implements ActivityMapper { private ClientFactory clientFactory; public AppActivityMapper(ClientFactory clientFactory) { super(); this.clientFactory = clientFactory; } @Override public Activity getActivity(Place place) { if (place

Re: Getting username from url only works after refresh

2016-06-01 Thread Thomas Broyer
Where and when and how is UserActivity constructed? Where does the UserPlace come from? On Tuesday, May 31, 2016 at 5:22:21 PM UTC+2, Olar Andrei wrote: > > I've tried that before, and I didn't managed to get the username to be > visible in my *ViewImpl...* > > For example. This is the

Re: Getting username from url only works after refresh

2016-06-01 Thread Jens
> About the code splitting stuff. Because the browser downloads code before > he needs it. > The split point itself will be loaded once you click your login button. Once the split point has been loaded the performUserConnection() method will be called. But depending on your code structure

Re: Getting username from url only works after refresh

2016-06-01 Thread Olar Andrei
I'll take your option into consideration. But for now I'm running out of time and I want to know how to fix the problem specified in my previous post. About the code splitting stuff. Because the browser downloads code before he needs it. marți, 31 mai 2016, 01:25:10 UTC+3, Olar Andrei a scris:

Re: Getting username from url only works after refresh

2016-06-01 Thread Chad Vincent
For some reason, passing the username around via the URL seems like a code smell to me. I'm not sure if it's actually better or not, but I store the User object from the server (less password hash) in a singleton (and the session, in case of a full refresh). I also have all my Place content

Re: Getting username from url only works after refresh

2016-06-01 Thread Olar Andrei
Hello, I've tried a little trick today, because I still belive the browser downloads code he does not need before he actually needs it. I placed this: Window.Location.reload(); inside my *UserViewImpl, *so it would reload after the login. The problem is that when the application starts with