Re: does not execute action listener

Splash Forums PrettyFaces Users does not execute action listener Re: does not execute action listener

#23254

Hi,

I am new to PrettyFace,I got a similar stupid issue that the action could not be executed.

CommandLink as below:

filename: complaint.jsf

<h:commandLink id=”display” value=”#{msg.COMMON_BUTTON_SUBMIT}” action=”#submissionBean.submitSubmissionData}”> </h:commandLink>

Pretty face config:

<url-mapping id=”generalcomplaint” >

<pattern value=”/generalcomplaint/” />

<view-id>/complaint.jsf</view-id>

</url-mapping>

From the customPhase Listener after clicking the command link, it submitted the form and reloaded the same page without calling the method “submitSubmissionData”.

Here is the Phase Listener log for the request.

[25/02/13 17:38:31:816 CST] 0000003a SystemOut O START PHASE RESTORE_VIEW(1)

[25/02/13 17:38:31:816 CST] 0000003a SystemOut O END PHASE RESTORE_VIEW(1)

[25/02/13 17:38:31:817 CST] 0000003a SystemOut O START PHASE RENDER_RESPONSE(6)

[25/02/13 17:38:32:150 CST] 0000003a SystemOut O END PHASE RENDER_RESPONSE(6)

My current environment:

JSF 2.0

Myfaces 2.1.9

Prettyfaces 3.3.3

Websphere 8.0

Servlet 3.0