Sunday, January 08, 2012

Accessing another managed beans property


FacesContext facesContext = FacesContext.getCurrentInstance();
NeededBean neededBean
    = (NeededBean)facesContext.getApplication()
      .createValueBinding("#{neededBean}").getValue(facesContext);

No comments:

Post a Comment