Hi,
I'am using SGWT Pro 6.1 released August 23, 2017
I use com.smartgwt.client.widgets.calendar.Calendar width DataSource.
My code:
calendar.getDataSource().addHandleErrorHandler(new HandleErrorHandler() {
@Override
public void onHandleError(ErrorEvent event) {
try {
String msgError = event.getResponse().getErrors().get("error").toString();
if(msgError!=null)
SC.say(msgError);
event.cancel();
....
} catch (Exception e) {
event.cancel();
}
}
}) ;
The event fire does not occur in the month view instead in the day or week view it works.
Can you give me some help?
Thanks a lot.
I'am using SGWT Pro 6.1 released August 23, 2017
I use com.smartgwt.client.widgets.calendar.Calendar width DataSource.
My code:
calendar.getDataSource().addHandleErrorHandler(new HandleErrorHandler() {
@Override
public void onHandleError(ErrorEvent event) {
try {
String msgError = event.getResponse().getErrors().get("error").toString();
if(msgError!=null)
SC.say(msgError);
event.cancel();
....
} catch (Exception e) {
event.cancel();
}
}
}) ;
The event fire does not occur in the month view instead in the day or week view it works.
Can you give me some help?
Thanks a lot.
Comment