This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi. I have a managed bean and one of its properties is another managed bean. Whenever I try to instantiate the first bean I get: javax.faces.el.PropertyNotFoundException: Can't set managed bean property: 'userb'
Here's part of my code. The main bean is Login and the property is UserSecurity.
Now, pagecode.pages.Login.java has:
and the getters and setters are simple
Do I have to do anything special to have a custom managed bean be the value of a property of another managed bean?. Anything in particular that these classes Login.java and UserSecurityBean have to have? What am I missing?.