Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSF and the fly likes ManagedBean isn't instantiated? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "ManagedBean isn Watch "ManagedBean isn New topic

ManagedBean isn't instantiated?

Nuno Miguel Santos

Joined: Nov 01, 2011
Posts: 10
I'm starting my first steps in JSF.

I've already read this link

in regards to map initialization.

The problem is, I want to populate my map with values residing in a file.

How can I do that?

I've tried not using faces-config.xml and calling a support method in the bean's constructor, but my select list box isn't populated.

My bean class:

As for my JSF file, it is like this:

I've tested the bean's functions in a test application, and everything works fine.

So my guess is the bean isn't instantiated?

kumar toomu

Joined: Dec 29, 2011
Posts: 14
the definition of your class does not specify a managed bean name...
so the default name would be "aDGroupListBean"
since bean names are case sensitive, update your jsf file using
<f:selectItems value="#{aDGroupListBean.withoutAccess}" />
I agree. Here's the link:
subject: ManagedBean isn't instantiated?
It's not a secret anymore!