| java.lang.Object | ||
| ↳ | ELResolver | |
| ↳ | org.springframework.web.jsf.el.WebApplicationContextFacesELResolver | |
Special JSF 1.2 ELResolver that exposes the Spring
 WebApplicationContext instance under a variable named
 "webApplicationContext".
 
In contrast to SpringBeanFacesELResolver, this ELResolver variant
 does not resolve JSF variable names as Spring bean names. It rather
 exposes Spring's root WebApplicationContext itself under a special name,
 and is able to resolve "webApplicationContext.mySpringManagedBusinessObject"
 dereferences to Spring-defined beans in that application context.
 
Configure this resolver in your faces-config.xml file as follows:
 
<application> ... <el-resolver>org.springframework.web.jsf.el.WebApplicationContextFacesELResolver</el-resolver> </application>
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | WEB_APPLICATION_CONTEXT_VARIABLE_NAME | Name of the exposed WebApplicationContext variable: "webApplicationContext". | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| logger | Logger available to subclasses | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Retrieve the WebApplicationContext reference to expose. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
Name of the exposed WebApplicationContext variable: "webApplicationContext".
Logger available to subclasses
| ELException | 
|---|
Retrieve the WebApplicationContext reference to expose.
The default implementation delegates to FacesContextUtils,
 returning null if no WebApplicationContext found.
| elContext | the current JSF ELContext | 
|---|