[seam-issues] [JBoss JIRA] Created: (SEAMFACES-108) Add producer for UIViewRoot
Dan Allen (JIRA)
jira-events at lists.jboss.org
Sat Mar 19 18:39:45 EDT 2011
Add producer for UIViewRoot
---------------------------
Key: SEAMFACES-108
URL: https://issues.jboss.org/browse/SEAMFACES-108
Project: Seam Faces
Issue Type: Feature Request
Components: CDI Integration
Affects Versions: 3.0.0.CR1
Reporter: Dan Allen
Priority: Minor
Add producer for UIViewRoot so that it can be injected. It should be dependent-scoped as it may change at any time during the request lifecycle.
Injected into an object:
{code:java}
@Inject Instance<UIViewRoot> viewRootProvider;
{code}
or into an observer:
{code:java}
public void beforeRender(@Observes @Before @RenderResponse PhaseEvent e, UIViewRoot viewRoot) {
...
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list