[jboss-user] [JBoss Seam] - theme selection

vwiencek do-not-reply at jboss.com
Fri Feb 15 06:30:31 EST 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129611#4129611

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129611



More information about the jboss-user mailing list