"christian.bauer(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...