Announcement

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

    What is SmartGWT document.compatMode ??

    Hello,
    I just upgraded a project from SmartGWT 2.5 to SmartGWT 3.0 (latest fixed version).
    When I compile my code I get one warning:
    Loading inherited module 'com.smartgwt.SmartGwt'
    [WARN] Setting configuration property named document.compatMode in com.smartgwt.SmartGwt that has not been previously defined. This may be disallowed in the future.
    I didn't find any explanation about this configuration property or it's allowed values on your site.
    Can you please explain what document.compatMode does and what its allowed values are??

    I just found this via google: http://code.google.com/p/smartgwt/so...gwt.xml?r=1859
    <set-configuration-property name="document.compatMode" value="BackCompat"/>
    But this seems to be an old version ?? And there's also no explanation. And I still get the warning when adding this line at the end of my gwt.xml file.

    Thanks

    #2
    Any suggestions please? Can I just ignore this warning?

    I guess there are many people here using SmartGWT 3.0? Do you also see that warning when compiling your app?
    Thanks

    Comment


      #3
      I too see it when I am compiling my code.
      I am using a relatively recent version of 3.0p from like 2-16-2012 or so.

      Comment


        #4
        You can ignore this warning for now. We'll make a change to resolve the warning. The latest version of GWT by default does an assert fail when it encounters an host page in quirks mode. This setting instructs GWT to proceed running the app even when it encounters a host page without a doctype.

        Comment


          #5
          Thanks for the clarification.
          Since I have set a doctype (and so far no problems with IE as described here http://forums.smartclient.com/showthread.php?t=8159#aIE8 ) I'll just deploy the app with the compile warning :)

          Comment

          Working...
          X