Announcement

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

    IE9 Offline storage with doctype

    Hi,

    I added doctype HTML 5
    Code:
    <!DOCTYPE HTML>
    in my module startup html and use IE9. This should not be a problem anymore according other threads in this forum, right?
    But since I did that, the 'offline' class does not seem to work anymore. I cannot store a value, eg.
    Code:
    Offline.put("testkey","test1")
    does not store the passed-in value in the browser-local storage.

    Do you see the same (e.g. in the showcase, add the DOCTYPE ?)

    SmartGWT 3
    SC_SNAPSHOT-2011-08-25/Pro

    #2
    We'll look into it and get back to you

    Comment


      #3
      This is being caused by an incorrect default setting in the Offline subsystem. We have a flag which forces us to use the IE-specific UserData persistence strategy even for modern versions of Internet Explorer that support standard HTML5 localStorage, and that flag is currently set. It looks like setting the HTML5 doctype breaks userData storage, which isn't terribly surprising.

      This has now been fixed - thanks for the problem report.

      Comment


        #4
        Thanks for fixing,
        my case is also working now in 2011 10 24 nightly.

        Comment

        Working...
        X