Friday, March 27, 2015

gwtext- 2.0.1 MessageBox issue- Blocking web page

Hi All,


I am using GWT MessageBox in following way.

  • When an exception is thrown, I am displaying MessageBox.Alert.
  • I am using MessageBox.AlertCallback() and execute() method to redirect to login() page.

     
MessageBox.alert( "title", "error",
                                       
new MessageBox.AlertCallback() {
                                           
public void execute()
                                           
{
                                               
Window.open( "loginpage.html", "_self", "" );
                                           
}
                                       
} );



Now, issue is I am getting same AlertBox again and again.After clicking 'OK' also it's not redirecting to login page. But, if I clear Browser cache manually login page will display. Any fix?

I am using gwtext-2.0.1.jar

Thank you.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@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.

No comments:

Post a Comment