When a managed bean is created that has as properties other beans, do these
bean properties get instantiated as well?  For example, I have a bean
UserBean with a property Center that is itself a bean.  There are getCenter
and setCenter methods. When a new UserBean is instantiated will Center also
be instantiated or will it remain null?

When my JSP renders there is a selectOneMenu that is used to set the value
of userBean.center.centerId but I keep recieving an error message that leads
me to believe that center is null.

I tried to instantiate center in a constructor and in the getCenter method
but neither method worked.


Thanks,
-Mark

Reply via email to