hi ,
--
-- thank you for your reply but my problem it is not just a message error !!!!
i have a function with parameter like that :
public MenuBar generateMenuBar(List<Menu> menuBeanList , final Long id) { // function execute can't have a parameters , you see ??
MenuBar menuBarPrincipale = new MenuBar(); or MenuItem
menuBarPrincipale.addClickHandler(new ClickHandler() { // here i have a problem :( :(
@Override
public void onClick(ClickEvent event) {
GreetingServiceAsync greetingService = GWT.create(GreetingService.class);
greetingService.loadCategoryPage(id,new AsyncCallback<GridPageModel>() {
@Override
public void onFailure(Throwable caught) {
}
@Override
public void onSuccess(GridPageModel grid) {
GridPageBuilder.build(grid);
}
});
}
});
2012/7/5 Jens <jens.nehlmeier@gmail.com>
You have to use the Command interface. A Command will be executed then a MenuItem is activated. See JavaDoc for MenuBar/MenuItem.-- J.--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1o_U4YFxWbEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Assiya EL
Master Qualité du Logiciel
Plz consider environment - Only print this if necessary
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment