0 Replies Latest reply on Feb 15, 2008 6:30 AM by Vincent Wiencek

    theme selection

    Vincent Wiencek Newbie

      Hi,

      i've a seam application which stores themes in the database. I'm facing the following problem :
      When a user try to access a page for the first time, the theme is loaded from database, then I perform a

      ThemeSelector.instance().selectTheme("themeA");
      


      But my theme specifications apply on the next reload of the page.

      I've try to select the theme before the jsf page load, with
      @Observer("org.jboss.seam.beforePhase")
      


      but it doesn't work.

      Thx
      Vincent