[jboss-user] [JBoss Seam] - Re: Problem with seam theme-selector and richfaces skins

misqu23 do-not-reply at jboss.com
Wed Aug 29 09:12:03 EDT 2007


Thank you for reply

My skinBean looks like :
@Name("skinBean")
  | @Scope(ScopeType.SESSION)
  | public class SkinBean {
  | 
  | 	@Logger private Log log;
  | 	
  | 	@In("#{theme.skin}")
  | 	private String skin;
  | 
  | 	public String getSkin() {
  | 		log.debug("Getting skin : "+skin);
  | 		return skin;
  | 	}
  | 	public void setSkin(String skin) {
  | 	}
  | }

Now it's works. I knew that I can do like that, but I didn't wanted to produce another bean which holds only the state of the current skin, now it only retrieves the skin from theme component. 

Why I can't just use #{theme.skin} in web.xml file ? 


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

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



More information about the jboss-user mailing list