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
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to