I have a manged bean where I use another managed bean:
@ManagedProperty(value="#{tableActions}")
private TableActions table1;
that works fine.
Now I need to use another instance of it:
@ManagedProperty(value="#{tableActions}")
private TableActions table1;
@ManagedProperty(value="#{tableActions}")
private TableActions table2;
However, now table2
is the same as table1
. How can I create a separate instance?