This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 15, 2011, 6:16 AM
15 Posts
topic has been resolvedResolved

App with theme - why is HTML missing "tundra.css" ?

  • Category: Dojo and Client Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: dojo stylesheet
  • Replies: 2
I have two xpage apps on different Domino servers.
Both servers are Release 8.5.2 HF16, and running on Windows 2003.
Both apps have the theme set to "blue" in the application properties.
Both have xpages using a few custom controls, and one custom control in each app uses a Dojo dialogue-box. The content of the dialogue-box is different between the two apps.
 
In one app, the following stylesheets (among others) are referenced in the HTML source when xpages are opened in the browser: 
/domjs/dojo-1.4.3/dijit/themes/tundra/tundra.css
/domjs/dojo-1.4.3/ibm/domino/widget/layout/css/domino-default.css
 
These stylesheets affect the appearance of the Dojo dialogue-box, making it look a bit nicer.
 
In the other app, those stylesheets are not referenced.
Why would this be? 
Mar 16, 2011, 10:19 PM
122 Posts
Re: App with theme - why is HTML missing "tundra.css" ?
Do you have dojoParseOnLoad and, more importantly, dojoTheme set to true for your XPage or a custom control in it? If dojoTheme is not set to true, it won't load the Dojo stylesheets for the tundra theme.
Mar 18, 2011, 5:00 AM
15 Posts
Re: App with theme - why is HTML missing "tundra.css" ?
Just setting dojoTheme to "true" fixed it, thanks. I didn't have to touch dojoParseOnLoad.
 
Strange thing: 
In the app where the tundra stylesheet was already being referenced, I checked the xpage and all custom controls, and none of them have dojoParseOnLoad or dojoTheme set.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal