0

Hi I saw from another question that it's possible to set theme via (on beforePageLoad event)

if ( ! theme.equals(context.getSessionProperty("xsp.theme"))) {
        context.setSessionProperty("xsp.theme", theme);
        context.redirectToPage(context.getUrl().toSiteRelativeString(context));
    }

But was wondering whether it's possible to set values in xsp.properties via SSJS or Java ?

Would I need to build the DB after it's been set ?

Web_Developer
  • 9
  • 1
  • 2
  • 8

1 Answers1

0

As Tim pointed out: EL is valid inside a theme, so you might create one theme and have your variations inside that theme using EL.

stwissel
  • 20,110
  • 6
  • 54
  • 101