Friday, March 27, 2015

Re: gwtext- 2.0.1 MessageBox issue- Blocking web page

GWT ext is very old and user an older version of Ext JS.
You should switch to Ext4j: http://opensource.ahome-it.com/#ext4j



On 27 March 2015 at 12:00, Rajesh Prabhu <rajsprabhu@gmail.com> wrote:
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.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

--
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