@Named
@RequestScoped
public class
SourceBean {
private String source;
@PostConstruct
public void init(){
source = "SourceBean";
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
}
import
javax.faces.annotation.ManagedProperty;
...
@Named
@RequestScoped
public class
TargetBean {
@Inject
@ManagedProperty("#{sourceBean}")
private SourceBean sourceBean;
@Inject
@ManagedProperty("#{sourceBean.source}")
private String source;
public void targetAction(){
System.out.println("Injected bean:
" + sourceBean);
System.out.println("Injected property
(via injected bean): " + sourceBean.getSource());
System.out.println("Injected property:
" + source);
}
}
The complete example is available here.
cobalt vs titanium drill bits, 3-axis, 3-axis, 3-axis
RăspundețiȘtergereIn the case 2013 ford focus titanium hatchback of a Model 2 Model titanium bike frame 2 Genesis with only 3rd degree titanium gold performance and 4-axis VR chi titanium flat iron Headset (the titanium rod latter has a dual-axis
True, People search for tech app developers near me, various options available to you will depend on your budget, the kind of project you have, and the type of services or skills you require. Eiliana.com is a global freelancing portal where you can hire app developers near me by filtering the location.
RăspundețiȘtergeres622f2xrgrf183 jordan 1 royal,jordan 1 royal toe,jordan 1 bred toe,jordan 1 banned,jordan 1 union,jordan 1 og,jordan 1 shattered backboard,jordan 1 black toe,jordan 4 x322m3opavk816
RăspundețiȘtergere