Reply To: Command not fired with multipart form (JSF 2.2)

Splash Forums PrettyFaces Users Command not fired with multipart form (JSF 2.2) Reply To: Command not fired with multipart form (JSF 2.2)

#26165

Janario Oliveira
Participant

Hi,

I’m migrating a project to wildfly and I have the same problem.
After some debugging I found in jsf-impl used in wildfly(2.2.5-jbossorg-3) a point that is evaluating different.
com.sun.faces.renderkit.ResponseStateManagerImpl.isPostback():84

The postback method doesn’t find the request parameter “javax.faces.ViewState” so it jumps from restoreView to renderResponse phase.

After that I did some debugging in RewriteFilter.
So evaluating request.getParameter(“javax.faces.ViewState”) in org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter():155 looks like:

– not multipart request with rewrite – show the parameter
– multipart request without rewrite – show the parameter
– multipart request with rewrite – parameter comes null

Do you have any idea why this is happening?