• Incredible Stuff - latest build (4.5.0) missing files?

    By Brendan Higgins 1 decade ago

    Thanks so much for the incredible work you have done in this project both in the development and documentation!  It will be a huge jump start for me on a project I currently have.  Hopefully I will be able to contribute back to this project from my application.

    This is my first major attempt at Xpages (although I am a 15 year Lotus Domino veteran), so I may be missing something obvious.  The mobilecontrolsoffline.nsf file appears to be missing some folders/files.  Specifically, when I load up MyOfflineDocument in the browser, it does not find the dojo of dojox directories to load js and css.

    Am I missing something?

    (sorry if this ends up being a double post, it didn't seem to submit the first time)

    • thanks

      By Niklas Heidloff 1 decade ago

      Thanks Brendan. For legal reasons I'm not allowed to put Dojo 1.5 into the offline nsf. You need to follow the steps in the readme.pdf. I have only tested the offline functionality with 1.5.0 and since there seem to be a problem when I quickly tested 1.6 I kept the offline functions in the separate nsf. Would like to fix this but don't know when I'll get to it.

      • Thanks for the Quick Response

        By Brendan Higgins 1 decade ago

        It really was a rookie mistake.  I had so many windows open (researching this and other HTML5 topics) that as I was shutting down last night, I realized I had missed that step.  After I built it this morning, of course it was much better.

         

        I do have a couple of issue though, and if you have some time I would appreciate your help, but if not, I understand and I will eventually figure it out I am sure.

         

        The MyOfflineDocument XPage was was erroring on the following line of JS (2 separate spots) (myDoc.getDocument().getLastModified() not defined):

         

        if (myDoc != null) {
                myDoc.getDocument().getLastModified().toString();
        }

         

        I just switched it to:

        if (myDoc != null) {
            if (myDoc.getDocument().getLastModified())
                myDoc.getDocument().getLastModified().toString();
        }

         

        Also, the source of that same page points to the javascript library /domjs/dojo-1.4.1/dojo/hash.js, which, of course, is supposed to be on the Domino server, but 8.5.2 installs dojo 1.4.3 which is what we have.  I know I can just add the 1.4.1 library to the server, but I would rather find out why/where it is pointing to the 1.4.1 library and change it.  I just can't find the reference.

         

        Thanks,

        Brendan

        • Solved on of my issues

          By Brendan Higgins 1 decade ago

          The reference to the dojo-1.4.1 was in the manifest file.

          Shy

          • Sorry

            By Niklas Heidloff 1 decade ago

            Sorry about this. It was too long again.

             

            Yes, I didn't use Dojo 1.5 but 1.4.1 because at that point Dojo 1.5 didn't even exist. So I used Dojo 1.4.1 plus only the Dojo Mobile beta version that made it later in 1.5. I also think that at that time 8.5.2 might not have been out. So I used 1.4.1 instead of 1.4.3 because that was available at that time as beta. I need to update the doc.