Re: [solved] [jsf-issue] problem go from jsp page to another jsp in new window

Splash Forums PrettyFaces Users [solved] [jsf-issue] problem go from jsp page to another jsp in new window Re: [solved] [jsf-issue] problem go from jsp page to another jsp in new window

#19988

Okay, here are my thoughts on your problems:

Regarding the submit to attendReport.jsp instead of printAttendReport.jsp. I think this is correct and expected behavior. When the user clicks on the link on attendReport.jsp, JSF will perform a postback to this (the old) view. So the HTTP POST will be send to attendReport.jsp. Then you action should be called and after that printAttendReport.jsp will be rendered. Is your method printAttendReportAction() executed or not? If not, this might be caused by a validation failure on the first page. Did you include <h:messages/> on the page to verify this?

Regarding the missing input values. This is very difficult to answer, as you didn’t include the <h:input*/> tags in the code you posted. But I think you are using a very unconventional way to access the input values (method getRequestParameter()). You should use standard Java bean properties and reference them with the value attribute of the <h:input*/> components.

I hope this helps..