users@javaserverfaces.java.net

Re: FacesException: The scope of the referenced object is shorter than the referring object?

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 06 Nov 2006 14:14:56 -0800

Todd Patrick wrote:
> What exactly does the exception "The scope of the referenced object
> #{object} is shorter than the referring object" mean?
>
It means that you have a ManagedBean that has a managed-property whose
lifecycle
is shorter that of the ManagedBean.

For example, it is illegal for a session-scoped ManagedBean to have
reference
to any objects where their lifecycle is request-scope.


> Thanks,
>
> --Todd
>
> -----------------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact
> the sender by reply email and destroy all copies of the original
> message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>
>