This content has been marked as final.
Show 4 replies
-
1. Re: Facelets equivalent of accessing application scope
pmuir Mar 13, 2008 8:12 PM (in response to yuriy_zubarev)Create an application scoped component.
-
2. Re: Facelets equivalent of accessing application scope
danielc.roth Mar 13, 2008 8:57 PM (in response to yuriy_zubarev)Something like this maybe (handcoded, beware!)...
Bean:
@Name("applicationBean") @Scope(ScopeType.APPLICATION) public class ApplicationBean { private String someValue; //... getters/setters }
JSF:
<h:outputText value="#{applicationBean.someValue}"/>
-
3. Re: Facelets equivalent of accessing application scope
danielc.roth Mar 13, 2008 8:59 PM (in response to yuriy_zubarev)To late. May I file a "conversation has been updated a la gmail feature request" :-) ?
-
4. Re: Facelets equivalent of accessing application scope
matt.drees Mar 14, 2008 1:55 AM (in response to yuriy_zubarev)Seam's EL Resolver will let you do this:
#{applicationContext['webAppVersion']}