• cache.manifest on mobile pages

    By Michael Ulrich 1 decade ago

    Has anyone get the offline cache running on mobile pages? My browser stores the files but also the xsp. I receive an error while opening the page for the second time.

    Mark Hughes describes the process here http://blog.hughesconnect.com/?p=59 but I am not able to to a refresh on my page. Can anyone tell me where to do this?

    Michael

    • Re: cache.manifest on mobile pages

      By Lorcan McDonald 1 decade ago

      The page that loads the cache-manifest is implicitly added as well, you need to add it to the NETWORK: section of the manifest file to prevent it from being cached (http://www.w3.org/TR/html5/offline.html#concept-appcache-onlinewhitelist).

      What error are you getting exactly?

      • Double Outline entries

        By Michael Ulrich 1 decade ago

        Thanks. Putting the xsp on the network section solves the problem. But this way doubles my outline items on the start page everytime I reload the page from the cache. Not on Firefox, but on Safari and Chrome. So I had to replace the outline structure with Static Line Items.

         


            pageTitle="BA:Mobile" xmlns:xe="http://www.ibm.com/xsp/coreex">

            
                
                
            

            
            
            
                     selectedPageName="home">
                

                    
                    
                                     label="EDV-Nummer (aktuell)" transition="slide">
                    

                                                 label="EDV-Nummer (alle)" transition="slide">
                    

                                                 label="Kurzname" transition="slide">
                    

                                                 label="Suche" transition="slide">
                    

                    
                
                

                
                
                
                
                
                
            


            

         

        • Issue on iPad -> dojoroot-1.6.1

          By Michael Ulrich 1 decade ago

          I have another strange rendering issue on the iPad when I start the Xpage from the desktop as WebApp.

          Step 1: Empty cache -> Xpage opens, it saves the files -> everything is fine -> closing the app

          Step 2: cache filled -> Xpage opens, everything is rendered in one page without any dojo layout, the home page is missing and the mobile safari throws several errors in the console

           

          JavaScript: Error Line 1
          https:///xsp/.ibmxspres/dojoroot-1.6.1/dojo/dojo.js
          SyntaxError: Parse error

          Any idea?