Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGwt IE9 issue

    Hi

    I'm using SmartGWT 2.4. I just tested my application in IE9. No mouse click got detected and Sub menus are not getting opened. Buttons are not listening to mouse. Same application is working in IE8, Chrome, Firefox. Please let me know how to fix this.

    -raghu

    #2
    Set the HTML meta tags that cause IE9 to behave like an older version (Google for samples and options) and remove any DOCTYPE settings. Do this in your production deployment too, or your end users will see breakage when a new IE is released with new bugs.

    Comment


      #3
      Hi thanks for your reply ..

      I added <!DOCTYPE html> at line 1. It's not working and I added following line to in headers , but still no use. Need to spend some more time.


      <meta http-equiv="X-UA-Compatible" content="IE=8" >

      If any one faced same problem , please reply me back.


      thanks ..
      -raghu

      Comment


        #4
        Again, remove the DOCTYPE (entirely).

        Comment


          #5
          Removing the doctype, and adding this:
          <meta http-equiv="X-UA-Compatible" content="IE=8" >

          Works like a charm in IE9 for me.

          Just to let other users know that this works.

          Comment


            #6
            Thanks Phoebe,


            It's working fine ...

            Comment


              #7
              Working like a charm...
              just be suer to wipe out IE9 cache before you access your app again.

              Thanks!
              Kefik

              Comment


                #8
                Hi Guys!!

                I am new to Smart GWT. I need some guidance related to put the HTML tags in Smart GWT. I am facing the same issue in IE9 but i am unable to find any HTML file in which i have to put the suggested meta tag..

                Thanks!!

                Comment


                  #9
                  As seen here : http://googlewebtoolkit.blogspot.com/2011/03/update-on-gwt-support-for-ie9.html
                  we only hat to add the metadata tag. Our doctype is still present and doesn't seems to have any impact on IE9.
                  Our doctype is the following: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

                  As web developer, I cannot imagine a web page without doctype...

                  Comment


                    #10
                    It is no longer necessary to remove the DOCTYPE entirely or use the meta tags as of 2.5, however, setting an XHTML docType is still incorrect.

                    Comment


                      #11
                      Originally posted by Isomorphic
                      It is no longer necessary to remove the DOCTYPE entirely or use the meta tags as of 2.5, however, setting an XHTML docType is still incorrect.
                      Even with SmartGWT 2.5, the IE9 is not allowing be expand collapse SectionStack tabs.

                      Comment


                        #12
                        We're not reproducing a problem here.
                        Here's a simple section stack test case:
                        Code:
                        public class SectionStackTest implements EntryPoint {
                        
                            @Override
                            public void onModuleLoad() {
                                Canvas c1 = new Canvas();
                                c1.setContents("Canavs 1");
                                c1.setBackgroundColor("orange");
                                
                                Canvas c2 = new Canvas();
                                c2.setContents("Canvas 2");
                                c2.setBackgroundColor("limegreen");
                                
                                SectionStackSection c1Section = new SectionStackSection("Canvas 1");
                                c1Section.addItem(c1);
                                
                                SectionStackSection c2Section = new SectionStackSection("Canvas 2");
                                c2Section.addItem(c2);
                                
                                SectionStack stack = new SectionStack();
                                stack.setWidth(300);
                                stack.setHeight(300);
                                stack.setSections(c1Section, c2Section);
                                stack.setVisibilityMode(VisibilityMode.MULTIPLE);
                                stack.draw();
                                
                            }
                        
                        }
                        For us this code is rendering correctly in IE9 and you are able to expand and collapse sections (tested against the 2.5 release build).
                        This behavior is unchanged regardless of whether the HTML page that loads this has a specified doctype or not.

                        If you think there's a framework bug with SectionStack sections in IE9 when the HTML page has a DOCTYPE specification please post a standalone test case so we can reproduce it on our end, and we'll take a look.

                        Comment


                          #13
                          The same example you have posted did NOT work for me on IE9.

                          I have posted a new thread for this case (Section Stack Issue)

                          http://forums.smartclient.com/showthread.php?p=74907#post74907

                          and i will be updating this ticket with my testcase.

                          Comment


                            #14
                            Smartgwt IE9 issue

                            Hi Support,

                            I am using Smartgwt version 3.0. Below values are printed.

                            com.smartgwt.client.Version.getVersion(): 3.0
                            com.smartgwt.client.Version.getBuildDate():Mon Dec 05 14:02:00 SGT 2011.

                            GWT is working IE8 perfectly. But in IE9, page has been loaded without problem. If click on button or list grid, nothing is happening. In the page I have added the below code.

                            <html>

                            <head>
                            <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7,7,8" />
                            <meta http-equiv="content-type" content="text/html; charset=UTF-8">

                            still not working in IE9. Please guide me how to fix this

                            Comment

                            Working...
                            X