Hi Team,
I m facing several problem after migrating from <gwt.version>2.6.1</gwt.version> to <gwt.version>2.8.2</gwt.version> and <smartgwt.version>5.0-p20141116</smartgwt.version> to <smartgwt.version>6.1-p20191130</smartgwt.version>
a.Ui tab are getting rendered two times.
b.Intiallly we have piece of code to dsiable tab is
public void onTabDeselected(TabDeselectedEvent event) {
Tab tab = (Tab) event.getSource();
/*if ((event.getY() - tab.getTabSet().getAbsoluteTop()) < 30) {
event.cancel();
}*/
}
now after migrating it is giving compilation issue because there is no such method (getY() )defined in TabDeselectedEvent,previuosly it was working TabDeselectedEvent was a child class of BrwoserEvent.class.getY() method is defined in BrwoserEvent.
now they are extending same class basically hierarchy of inheritance has been changed.
Can any body guide us to get the Returns the page-relative top coordinate of the widget on the page, in pixels by events object.
or guide to enable ,disable based on click event.
3.UiUpload -SubmitCompleteHandler is not getting completed.
File upload processing is getting stuck.
Below piece of code is not working leading incomplete process.
upload.addSubmitCompleteHandler(new SubmitCompleteHandler() {
@Override
public void onSubmitComplete(SubmitCompleteEvent event) {
Window.alert("Inside On submit complete event result"+event.getResults());
presenter.destroy();
close();
doneCallback.onDone(event.getResults());
}
});
I m facing several problem after migrating from <gwt.version>2.6.1</gwt.version> to <gwt.version>2.8.2</gwt.version> and <smartgwt.version>5.0-p20141116</smartgwt.version> to <smartgwt.version>6.1-p20191130</smartgwt.version>
a.Ui tab are getting rendered two times.
b.Intiallly we have piece of code to dsiable tab is
public void onTabDeselected(TabDeselectedEvent event) {
Tab tab = (Tab) event.getSource();
/*if ((event.getY() - tab.getTabSet().getAbsoluteTop()) < 30) {
event.cancel();
}*/
}
now after migrating it is giving compilation issue because there is no such method (getY() )defined in TabDeselectedEvent,previuosly it was working TabDeselectedEvent was a child class of BrwoserEvent.class.getY() method is defined in BrwoserEvent.
now they are extending same class basically hierarchy of inheritance has been changed.
Can any body guide us to get the Returns the page-relative top coordinate of the widget on the page, in pixels by events object.
or guide to enable ,disable based on click event.
3.UiUpload -SubmitCompleteHandler is not getting completed.
File upload processing is getting stuck.
Below piece of code is not working leading incomplete process.
upload.addSubmitCompleteHandler(new SubmitCompleteHandler() {
@Override
public void onSubmitComplete(SubmitCompleteEvent event) {
Window.alert("Inside On submit complete event result"+event.getResults());
presenter.destroy();
close();
doneCallback.onDone(event.getResults());
}
});
Comment