• 3.2.0 release missing iPhone.css file?

    By Lance Spellman 1 decade ago

    In MobileControls200.nsf file, under Resources | StyleSheets, there is only 1 file, openntf.css.  It looks like there should be an iPhone.css file as well based on the property value supplied for mConfiguration in the m XPage.  That value is:  dojox/mobile/themes/iphone/iphone.css

     
    If we are supposed to do the import of Dojo Mobile 1.5 into dojox folder for the m XPage to run, the documentation should be changed to reflect that. 

    Thanks.

  • Comments

    By Niklas Heidloff 1 decade ago

    Lance, I don't see what should be wrong in the doc. The iphone css doesn't appear as resource in the NSF but has to be imported as documented.

     
    Anyway, if you just want to use m.xsp and not the offline version you should use the v 3.2 since this one has the Dojo code already imported. You can simply take that nsf plus the SampleData.nsf, drop them in your Domino data dir and run m.xsp.

  • 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