• Controls not rendered correctly when using a theme stored in the application rather than on server.

    By Clay Martin 1 decade ago

    I have tried to embed the onuiv2 theme in the application so I could change the references to which dojo styles it used. (switch tundra with soria) 
    Unfortunately it seems when the theme is coming from the application it is not applied to the extension library controls? 

    Steps. 
    Copied onuiv2.theme from ..notes\xsp\nsf\themes and created a new theme in the notes database as a theme called "sr_oneuiv2" 
    Created a test XPage with just a dojo button 

    Select the server based oneuiv2 theme and open the page, then select the sr_oneuiv2 and open the same page.
    Comparing the source page HTML the following is missing from the page when using the theme stored in the application. 
    dojo.registerModulePath('extlib', '/xsp/.ibmxspres/.extlib'); 
    dojo.require('extlib.theme.OneUIA11Y') 

    input type="hidden" name="$$viewid" id="view:_id1__VUID" value="!debarxqm44!" 

    Issue is more pronounced if you drag on a more complex controls as none of the style classes are applied.