Inject « Page « JSF Q&A





1. JSF multiple @ViewScoped and @ManagedBeans on same page results in null injection    stackoverflow.com

I have two classes as follows:

@ManagedBean( name = "randomBar")  
@ViewScoped  
public class Soap  
{  
   private List<Cat> cats;  
   //getter/setter pair  ...