[jboss-user] [JBoss Seam] - Re: Renderer is not resolving a variable

gmarcus do-not-reply at jboss.com
Tue May 1 11:25:08 EDT 2007


"christian.bauer at jboss.com" wrote : I think  needs a scope, this works for me:
  | 
  | 
  |   |     <factory name="themePath" scope="APPLICATION"
  |   |              value="#{facesContext.externalContext.request.contextPath}/themes/#{wikiPreferences.themeName}"/>
  |   | 
  | 
  | Otherwise it defaults to ScopeType.UNSPECIFIED, which I think only works for factory methods declared in a component (the scope of the component is used). I'm surprised that some examples in the documentation show  without scope, so my explanation is probably not 100% correct.
  | 

I added scope="APPLICATION" and I am still not seeing #{basepath} resolving.

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

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



More information about the jboss-user mailing list