Re: Wrong Request Processing order

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

#21167

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
validator.validateParameters(event.getFacesContext());

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

// inject parameters
injector.injectParameters(event.getFacesContext());
}

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