This content has been marked as final.
Show 4 replies
-
1. Re: How to getapplicationContext scoped variable in JSF?
wquraishi Sep 24, 2007 3:40 PM (in response to wquraishi)this is the code setting the values in the filter:
if (APACHE_URL == null | APACHE_DIR == null) { // set the values in the application context org.jboss.seam.contexts.Contexts.getApplicationContext().set( "APACHE_URL", APACHE_URL); org.jboss.seam.contexts.Contexts.getApplicationContext().set( "APACHE_DIR", APACHE_DIR); }
-
2. Re: How to getapplicationContext scoped variable in JSF?
supernovasoftware.com Sep 24, 2007 4:00 PM (in response to wquraishi)APACHE_BASE_URL is not being set. It looks like you are setting APACHE_URL and APACHE_DIR
-
3. Re: How to getapplicationContext scoped variable in JSF?
wquraishi Sep 24, 2007 4:06 PM (in response to wquraishi)Sorry the first post should actually say APACHE_URL (typo).
-
4. Re: How to getapplicationContext scoped variable in JSF?
wquraishi Sep 24, 2007 4:17 PM (in response to wquraishi)Nevermind...so stupid and too quick to post. Got it..pretty self explanatory too:
In JSF:
The Apache DIR is: <h:outputText value="#{applicationContext.get(APACHE_URL)}"/>