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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to