I have been working on a test application using SmartGWT and the Google MVP framework to evaluate SmartGWT to see if we will use it in a new product we are developing.
I have managed to get the application to work, but i had to modify the following code in the <view>Presenter class (which is how is done in the Google MVP tutorial):
public void go(final HasWidgets container) {
container.clear();
container.add(display.asWidget());
}
To:
public void go() {
display.show();
}
Note: My display class extends the SmartGWT Canvas object, which means that it is a widget. I call display.hide() to hide the view when i go to another view
If i use the Goople MVP way i always get a pop-up box error,
Has anyone managed to get the Google MVP approach working with SmartGWT?
I have managed to get the application to work, but i had to modify the following code in the <view>Presenter class (which is how is done in the Google MVP tutorial):
public void go(final HasWidgets container) {
container.clear();
container.add(display.asWidget());
}
To:
public void go() {
display.show();
}
Note: My display class extends the SmartGWT Canvas object, which means that it is a widget. I call display.hide() to hide the view when i go to another view
If i use the Goople MVP way i always get a pop-up box error,
Has anyone managed to get the Google MVP approach working with SmartGWT?
Comment