Monday 30 September 2013

ADF Basics: Refresh UIComponent within Manage Bean

ADF Basics: Refresh UIComponent within Manage Bean

This is a quick code tip:

     /**
*import javax.faces.component.UIComponent;
*
* PPR UIComponent
*
* @param UIComponent - The UIComponent wanting to be refreshed
*
*/
    public void refreshComponent(UIComponent component){
        AdfFacesContext.getCurrentInstance().addPartialTarget(component);  
    }

No comments:

Post a Comment