2009/07/03

Sometimes you need to wrap FacesContext or even ExternalContext. For our component library we have several needs to do so – e.g. add custom logic to RequestParameterMap or SessionMap. In JSF 1.2 ExternalContext cannot be wrapped directly – one needs to wrap FacesContext to hook in a wrapped ExternalContext.