jsf - Avoid auto-instantiation of managed bean when injected as @ManagedProperty -


i have requestscoped bean can receive data 3 different viewscoped beans (from 3 different pages). beans jsf managed beans.

when use managedproperty in request scoped 3 different view scoped beans, instantiates view scoped beans not want. want know bean being called , call specific method (different) each bean.

how can check bean instantiated , in scope can call correct bean's method?

looks it's pretty simple. reading 1 of balus's posts. used managedproperty(value="#{viewscope.managedbeanname}") . did not instantiate. inscope, gave me created bean :). happy


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -