Created
November 11, 2011 16:39
-
-
Save christiangoudreau/1358470 to your computer and use it in GitHub Desktop.
Ensure Injected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class web implements EntryPoint { | |
private final ClientGinjector ginjector = GWT.create(ClientGinjector.class); | |
@Override | |
public void onModuleLoad() { | |
// This is required for Gwt-Platform proxy's generator | |
DelayedBindRegistry.bind(ginjector); | |
ginjector.getResources().style().ensureInjected(); | |
ginjector.getBootStrapper().init(); | |
} | |
} | |
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> | |
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" | |
xmlns:g="urn:import:com.google.gwt.user.client.ui"> | |
<ui:with field="res" type="com.quebecpass.web.client.resources.Resources" /> | |
<ui:with field="nameTokens" type="com.quebecpass.web.client.place.NameTokens" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment