litesoft
Diff Revisions
969
vs
970
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/client/widget/WizardProgressIndicator.java
|
@@ -42,8 +42,7 @@ |
42 |
42 |
|
|
43 |
43 |
|
public WizardProgressIndicator( String pContext, T pCurrentStep, T[] pSteps ) { |
44 |
44 |
|
pContext = StringUtils.noEmpty( pContext ); |
45 |
|
- |
E13nResolver zResolver = Global.get( E13nResolver.class ); |
46 |
|
- |
mResolver = (pContext == null) ? zResolver : new ContextualE13nResolver( zResolver, pContext ); |
|
45 |
+ |
mResolver = Global.get( E13nResolver.class ).withOptionalContext( pContext ); |
47 |
46 |
|
|
48 |
47 |
|
int zIndexOfCurrent = validateParams( pCurrentStep, pSteps ); // 0 based |
49 |
48 |
|
mClickHandlers = createClickHandlers( zIndexOfCurrent, pSteps ); |