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

christian.bauer@jboss.com do-not-reply at jboss.com
Tue May 1 11:19:39 EDT 2007


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.


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

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



More information about the jboss-user mailing list