| Author |
ManagedBean isn't instantiated?
|
Nuno Miguel Santos
Greenhorn
Joined: Nov 01, 2011
Posts: 10
|
|
I'm starting my first steps in JSF.
I've already read this link
http://docs.oracle.com/javaee/6/tutorial/doc/bnawq.html#bnaww
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?
Regards,
Nuno.
|
 |
kumar toomu
Greenhorn
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}" />
|
 |
 |
|
|
subject: ManagedBean isn't instantiated?
|
|
|