Insights into Java Server Faces

2009/07/03

Using Custom factories or howto wrap FacesContext and ExternalContext in JSF 1.2

Filed under: JSF — Tags: — Hanspeter @ 22:48

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.

(more…)

Advertisements
« Newer Posts

Create a free website or blog at WordPress.com.