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");
to apply the new theme.
But my theme specifications apply on the next reload of the page. (I guess the theme selection happened after jsf rendering)
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
Where do you call selectTheme()? From a page action? If not, try doing it in a page action.