Jun 3, 2011, 3:04 PM
64 Posts

Tundra gets special treatment from the XPage...

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: dynamic theme
  • Replies: 0
- I'm using a scoped variable to hold the name of a theme, then using SSJS on a <xp:this.href> to compute which .css file to load.  This works perfecty ... except for tundra.
- All of the themes are right there in dojoroot/dijit/themes, including tundra, but when I compute the path to css, it will not load dojoroot/dijit/themes/tundra/tundra.css.  In fact, it utterly ignores that path - I see no 404 error for tundra.css - there are NO references to tundra anywhere period.  It's as if I never specified anything at all.

- If I copy dojoroot/dijit/themes/tundra to somewhere it can find it, say under the html directory, then use that path when attempting to load tundra, it  works a treat.
- I'd like to know:

A) Why are references to the normal tundra location utterly ignored in all respects?
B) How I may load tundra without this hack of copying it and referring to the copy?

Thanks for your time...