Re: Primefaces FileUpload and Prettfaces Error

Splash Forums PrettyFaces Users Primefaces FileUpload and Prettfaces Error Re: Primefaces FileUpload and Prettfaces Error

#20321

PrettyFaces uses servlet FORWARDs to redirect traffic internally within the server.

If you want your PrimeFaces filter to intercept requests that are FORWARD’ed from another Filter, you need to add:

<dispatcher>FORWARD</dispatcher>

If you PrimeFaces filter to intercept requests that are sent do ERROR page, you need to add:

<dispatcher>ERROR</dispatcher>

If you want PrimeFaces filter to intercept plain REQUESTs, then you need to add:

<dispatcher>REQUEST</dispatcher>

The same goes for ASYNC requests:

<dispatcher>ASYNC</dispatcher>

Does that help explain?