Hi !

I have in my project a RootView and a HomeView, this latter will be 
displayed inside the main Container of the RootView but only with clicking 
on the HomeButton.
Now I want to get the HomeView displayed inside the RootView at the first 
browser loading.

I tried to add in my MainEventBus interface to make:

@Events(startPresenter=RootPresenter.class)
public interface MainEventBus extends EventBus{
@Start
@Event(handlers = { RootPresenter.class })
public void start(); 
@Event(handlers = {HomePresenter.class, RootPresenter.class})
public void goToHome();
@Event(handlers = {RootPresenter.class})
public void changeRootBody(Widget w);
@Event(handlers={RootPresenter.class})
public void goToRoot();
}


and in my RootPresenter:

public void onStart(){
onGoToRoot();
onGoToMosaique();
}

but without success, any idea will be appreciated

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to