|
@@ -1,6 +1,7 @@ |
1 |
1 |
|
package org.litesoft.sandbox.multimodule.client.module.groupfront; |
2 |
2 |
|
|
3 |
3 |
|
import org.litesoft.GWT.client.pavsupport.*; |
|
4 |
+ |
import org.litesoft.core.util.externalization.*; |
4 |
5 |
|
import org.litesoft.sandbox.multimodule.client.foundation.places.*; |
5 |
6 |
|
import org.litesoft.sandbox.multimodule.client.foundation.support.*; |
6 |
7 |
|
import org.litesoft.sandbox.multimodule.client.module.groupfront.front.*; |
|
@@ -19,7 +20,7 @@ |
19 |
20 |
|
{ |
20 |
21 |
|
System.out.println( "GroupFront.onModuleLoad" ); |
21 |
22 |
|
|
22 |
|
- |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, FrontView, PlaceFront>( EnumPlaces.Front ) |
|
23 |
+ |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, FrontView, PlaceFront>( DefaultResolver.INSTANCE, EnumPlaces.Front ) |
23 |
24 |
|
{ |
24 |
25 |
|
@Override |
25 |
26 |
|
public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, FrontView, PlaceFront> pCallback ) |
|
@@ -29,7 +30,7 @@ |
29 |
30 |
|
@Override |
30 |
31 |
|
public void onSuccess() |
31 |
32 |
|
{ |
32 |
|
- |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, FrontView, PlaceFront>( getPlaceId() ) |
|
33 |
+ |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, FrontView, PlaceFront>( getResolver(), getPlaceId() ) |
33 |
34 |
|
{ |
34 |
35 |
|
@Override |
35 |
36 |
|
public FrontView createView() |
|
@@ -48,7 +49,7 @@ |
48 |
49 |
|
} |
49 |
50 |
|
} ); |
50 |
51 |
|
|
51 |
|
- |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, LeftView, PlaceLeft>( EnumPlaces.Left ) |
|
52 |
+ |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, LeftView, PlaceLeft>( DefaultResolver.INSTANCE, EnumPlaces.Left ) |
52 |
53 |
|
{ |
53 |
54 |
|
@Override |
54 |
55 |
|
public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, LeftView, PlaceLeft> pCallback ) |
|
@@ -58,7 +59,7 @@ |
58 |
59 |
|
@Override |
59 |
60 |
|
public void onSuccess() |
60 |
61 |
|
{ |
61 |
|
- |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, LeftView, PlaceLeft>( getPlaceId() ) |
|
62 |
+ |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, LeftView, PlaceLeft>( getResolver(), getPlaceId() ) |
62 |
63 |
|
{ |
63 |
64 |
|
@Override |
64 |
65 |
|
public LeftView createView() |
|
@@ -77,7 +78,7 @@ |
77 |
78 |
|
} |
78 |
79 |
|
} ); |
79 |
80 |
|
|
80 |
|
- |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, RightView, PlaceRight>( EnumPlaces.Right ) |
|
81 |
+ |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, RightView, PlaceRight>( DefaultResolver.INSTANCE, EnumPlaces.Right ) |
81 |
82 |
|
{ |
82 |
83 |
|
@Override |
83 |
84 |
|
public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, RightView, PlaceRight> pCallback ) |
|
@@ -87,7 +88,7 @@ |
87 |
88 |
|
@Override |
88 |
89 |
|
public void onSuccess() |
89 |
90 |
|
{ |
90 |
|
- |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, RightView, PlaceRight>( getPlaceId() ) |
|
91 |
+ |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, RightView, PlaceRight>( getResolver(), getPlaceId() ) |
91 |
92 |
|
{ |
92 |
93 |
|
@Override |
93 |
94 |
|
public RightView createView() |