You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2006/05/02 19:32:23 UTC

Re: ManagedBean Existence Check?

On 4/30/06, Uri Kalish <uk...@mercury.com> wrote:
> Is there a function to check for existence of a managed bean?
>
> The createValueBinding function is no good because it always returns a
> managed bean (creates one if it doesn't exist).

I don't know if there is or not, but if you look in the source code
for createValueBinding(), there must be something that determines this
status.   The beans are stored in request and session maps, so you
could always go this route too.  Again, look at the source.