Description
It is good for performance to reduce the ammount of calls to FacesContext.getCurrentInstance(). There are some indirected ways to trigger that call without warning using getClientId(). The idea is pass or cache facesContext when possible.