Subversion Repository Public Repository

litesoft

Diff Revisions 969 vs 970 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/sampleapplication/client/SampleApplication.java

Diff revisions: vs.
  @@ -1,5 +1,6 @@
1 1 package com.temp.sampleapplication.client;
2 2
3 + import org.litesoft.commonfoundation.base.*;
3 4 import org.litesoft.externalization.shared.*;
4 5
5 6 import com.google.gwt.core.client.*;
  @@ -30,7 +31,7 @@
30 31 "SetValue", "Set Value", //
31 32 };
32 33
33 - private E13nResolver globalResolver = new E13nSubstitutionDataBasedResolver( new E13nSubstitutionData() {
34 + private E13nResolver globalResolver = new E13nKeyedTextValuesBasedResolver( new KeyedTextValues() {
34 35 private Map<String, String> dictionary = CollectionsUtils.newMap( externalizedData );
35 36
36 37 @Override
  @@ -81,7 +82,7 @@
81 82 @Override
82 83 public void onModuleLoad() {
83 84 // Initialize the "View" Resolver
84 - E13nResolver viewResolver = new ContextualE13nResolver( globalResolver, "BusinessUnitManager" );
85 + E13nResolver viewResolver = globalResolver.withContext( "BusinessUnitManager" );
85 86
86 87 // Create Composite(s)
87 88 rbgif = new RadioButtonGroupInputField( radioButtonContainer, rbif1, rbif2 );