Monday 30 September 2013

ADF Basics: Find UIComponent within Manage Bean

ADF Basics: Find UIComponent within Manage Bean

This is a quick code tip:

     /**
* FindUIComponent
*
* @param UIComponent - The UIComponent ID you are wanting to find
*
*/
private UIComponent findUIComponent(String name) {  
 FacesContext facesCtx = FacesContext.getCurrentInstance();  
 return facesCtx.getViewRoot().findComponent(name) ;  
}

#bearMan

No comments:

Post a Comment