Re: Wrong Request Processing order

Splash Forums PrettyFaces Users Wrong Request Processing order Re: Wrong Request Processing order


Hmm, strange. It really shouldn’t happen that way. Do you think you could create a little example app that shows this? I’m very surprised by this actually, because this is how the code looks in PrettyPhaseListener:

if (!event.getFacesContext().getResponseComplete())
// run parameter validation

// abort if validation failed, 404 response code has already been set
if (event.getFacesContext().getResponseComplete())

// inject parameters

PrettyContext prettyContext = PrettyContext.getCurrentInstance(event.getFacesContext());
if (prettyContext.shouldProcessDynaview())
dynaview.processDynaView(prettyContext, event.getFacesContext());