]
Brian Leathem reassigned SEAMFACES-94:
--------------------------------------
Assignee: Brian Leathem
Add @Named to producer for ExternalContext
------------------------------------------
Key: SEAMFACES-94
URL:
https://issues.jboss.org/browse/SEAMFACES-94
Project: Seam Faces
Issue Type: Enhancement
Components: CDI Integration
Affects Versions: 3.0.0.CR1
Reporter: Dan Allen
Assignee: Brian Leathem
Priority: Minor
Fix For: 3.0.0.Final
JSF exposes facesContext as an implicit EL variable that references the current
FacesContext. However, no such implicit EL variable is available for ExternalContext.
There is useful information in the ExternalContext that is often needed in the UI,
particular during development. Thus, we should expose this implicit variable by adding
@Named to the producer for ExternalContext.
@Named
@Produces
@RequestScoped
public ExternalContext getExternalContext(final FacesContext context) {
return context.getExternalContext();
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: