Wow, this thread was hard to read (I read it twice) ;-)
So, to make a long story short
none -> none
application -> none, application
session -> non, application, session
request -> none, app, session, req
on the left there is the scope of a bean
on the right there is the possible scope of
>It is the *opposite* direction that is prohibited ... you cannot inject a
>request scoped bean into a session scoped bean.
Whoops, I had it backwards the entire time ;) And it looks like MyFaces knows
it is illegal to inject #{facesContext.externalContext.requestMap['foo']} into
a session scop
On 6/1/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>As long as you don't also have a "sharedData" bean in request scope, this>will pick up the session scoped bean for you (and also create it if>necessary, if it is a managed bean).Hi Craig,
I can only see how the first part is correct. If sharedDat
>As long as you don't also have a "sharedData" bean in request scope, this
>will pick up the session scoped bean for you (and also create it if
>necessary, if it is a managed bean).
Hi Craig,
I can only see how the first part is correct. If sharedData is a data
structure in session scope (not i
On 6/1/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
The spec says higher scoped managed beans cannot be injected into lower scoped managed beans. This doesn't mean we can't inject session scoped data into request scope managed beans ... geographyProducer
gov.blm.ak.GeographyConsumerThread request
Dennis Byrne wrote:
The spec says higher scoped managed beans cannot be injected into lower scoped
managed beans. This doesn't mean we can't inject session scoped data into
request scope managed beans ...
geographyProducer
gov.blm.ak.GeographyConsumerThread
request
sharedData
The spec says higher scoped managed beans cannot be injected into lower scoped
managed beans. This doesn't mean we can't inject session scoped data into
request scope managed beans ...
geographyProducer
gov.blm.ak.GeographyConsumerThread
request
sharedData
#{facesContext.exter
7 matches
Mail list logo