[
https://issues.jboss.org/browse/JBIDE-8748?page=com.atlassian.jira.plugin...
]
Alexey Kazakov resolved JBIDE-8748.
-----------------------------------
Resolution: Rejected
Ok. This bean is implemented via standard producer
{code}
public class FacesContextProducer {
@Produces
@RequestScoped
public FacesContext getFacesContext() {
FacesContext ctx = FacesContext.getCurrentInstance();
if (ctx == null) {
throw new ContextNotActiveException("FacesContext is not active");
}
return ctx;
}
}
{code}
So we already support it.
Support @Inject FacesContext
----------------------------
Key: JBIDE-8748
URL:
https://issues.jboss.org/browse/JBIDE-8748
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Labels: new_and_noteworthy
Fix For: 3.3.x
Seam Faces provides a built-in bean for javax.faces.context.FacesContext
So @Inject FacesContext context; should be resolvable in JBT too.
See
http://docs.jboss.org/seam/3/faces/latest/reference/en-US/html/artifacts....
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira