litesoft
Diff Revisions
954
vs
955
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/Prioritizer.java
|
@@ -15,6 +15,7 @@ |
15 |
15 |
|
import org.litesoft.commonfoundation.base.*; |
16 |
16 |
|
import org.litesoft.commonfoundation.typeutils.gregorian.*; |
17 |
17 |
|
import org.litesoft.core.*; |
|
18 |
+ |
import org.litesoft.commonfoundation.independence.*; |
18 |
19 |
|
import org.litesoft.logger.*; |
19 |
20 |
|
import org.litesoft.loggerconfig.*; |
20 |
21 |
|
import org.litesoft.prioritizer.client.accessors.*; |
|
@@ -76,7 +77,7 @@ |
76 |
77 |
|
public void finishAppLoad() { |
77 |
78 |
|
ClientContext zContext = ClientContext.get(); |
78 |
79 |
|
|
79 |
|
- |
Dev.init( zContext ); |
|
80 |
+ |
Dev.init(); |
80 |
81 |
|
|
81 |
82 |
|
AppPanel zAppPanel = new AppPanel( Dev.isDevMode() ? 1 : 0 ); // 1 = see Red Line |
82 |
83 |
|
|
|
@@ -224,7 +225,7 @@ |
224 |
225 |
|
@Override |
225 |
226 |
|
public void error( String pError ) { |
226 |
227 |
|
if ( Currently.isNullOrEmpty( pError ) ) { |
227 |
|
- |
PageRefreshableProxy zRefreshableProxy = ClientContext.get().checkGet( PageRefreshableProxy.class ); |
|
228 |
+ |
PageRefreshableProxy zRefreshableProxy = Instance.ofOptional( PageRefreshableProxy.class ); |
228 |
229 |
|
if ( zRefreshableProxy != null ) { |
229 |
230 |
|
zRefreshableProxy.refreshPage(); |
230 |
231 |
|
return; |