Tim Holloway wrote:JSF is an Inversion of Control (IoC) framework. To access one managed bean from another managed bean, you simply setup up the faces-config file to tell it to inject it as a managed-property. And code a setter for the second bean in the first bean.
Do you mean in my InfoBean i need to have something like this:
private dummyBean db;
public setdb(dummyBean db){
}
what will be the code in the setter??
if i do the above code, for the faces-config is it something like this:
<managed-property>
<description>Spring-injected persistence service</description>
<property-name>dummyBean </property-name>
<value>#{db}</value>
</managed-property>
am i on the right track?
After setting all this, i can just call the values by "db.getxx()"?