}
@Override
public void start(final AcceptsOneWidget panel, EventBus eventBus) {
final IHomeView view = cf.getViewFactory().getView(IHomeView.class);
// fetch site stats
ISiteStatisticsServiceAsync.Util.instance().getSiteStatitics(new AsyncCallback<ISiteStatisticsService.SiteStatisticsPayload>() {
@Override
public void onSuccess(SiteStatisticsPayload result) {
view.setStats(result.getDto());
panel.setWidget(view.asWidget());
}
@Override
public void onFailure(Throwable caught) {
GWT.log("Error fetching site stats", caught);