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

  • SmartGwt IE9 issue


    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.


  • #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.


    • #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 ..


      • #4
        Again, remove the DOCTYPE (entirely).


        • #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.


          • #6
            Thanks Phoebe,

            It's working fine ...


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



              • #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..



                • #9
                  As seen here :
                  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" "">

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


                  • #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.


                    • #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.


                      • #12
                        We're not reproducing a problem here.
                        Here's a simple section stack test case:
                        public class SectionStackTest implements EntryPoint {
                            public void onModuleLoad() {
                                Canvas c1 = new Canvas();
                                c1.setContents("Canavs 1");
                                Canvas c2 = new Canvas();
                                c2.setContents("Canvas 2");
                                SectionStackSection c1Section = new SectionStackSection("Canvas 1");
                                SectionStackSection c2Section = new SectionStackSection("Canvas 2");
                                SectionStack stack = new SectionStack();
                                stack.setSections(c1Section, c2Section);
                        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.


                        • #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)


                          and i will be updating this ticket with my testcase.


                          • #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.


                            <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