I understand what's happening now,but not why
By Lance Spellman 1 decade ago
Niklas, as an educational thing, perhaps you can shed some light on a few things. I'm puzzled by the approach of disabling dojo and its themes entirely (through xsp.properties) and then re-introducing a custom build of dojo back into the database itself. The approach would seem to force the developer to put his mobile application into a separate .nsf altogether from his "web" or "notes client" application as from what I can see, the xsp.properties is global to the application and causes all kinds of headaches for a "normal" XPage in the app.
I know you need to bring in dojox.mobile, and it looks like the way you're doing it is to do a custom build where dojo.js would be aware of it and source it from the packages you add to the .nsf. However, for the IBM pieces of dojo, you still have to hard-code include the rest of those XSP library functions back to the server, and you become highly dependent on the Domino server version as you code to the Dojo version, which changes with 8.5, 8.5.1, and 8.5.2. The other issue I see is that those libraries now get loaded outside of the HEAD section of the page b/c they are being loaded as