jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: [1149-ViewHandler] Add method getCurrentViewScope()

From: Edward Burns <edward.burns_at_oracle.com>
Date: Thu, 29 Nov 2012 19:58:12 -0800

>>>>> On Thu, 29 Nov 2012 06:29:00 -0500 (EST), Ken Finnigan <kfinniga_at_redhat.com> said:

KF> Agree that this is a necessity for JSF Portlet Bridges.

NG> I recently reviewed the JSF 2.2 Spec and API and have identified some
NG> portlet compatibility concerns.

NG> To this end, please review the following proposal that I just filed:
NG> http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1149

I looked at this and have to ask, why is
facesContext.getViewRoot().getViewMap() not sufficient?

The spec for FlowHandler.getCurrentFlowScope() states it returns the
data structure that backs the EL implicit object #{facesFlowScope}.
This is *not* the data structure used to store the actual CDI
@FlowScoped beans.

I'll note that #{viewScoped} *does* just call through to
facesContext.getViewRoot().getViewMap().

Can I close this one?

Ed
-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/