Re: does not execute action listener

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

#23256

Thanks for your help.

The complaint.jsf could be rendered when it was not running with Prettyface.

Once I put the Prettyface lib into the project,I could access the page using the prettyface mapping, /contextroot/generalcomplaint/, but when I tried to click on the command link and submit the form using POST, it didn’t hit the action method at all. I was thinking about the URL mapping of the prettyface.

Since the mapping of my Prettyface config didn’t have the ACTION element specified, however the commandlink has an Action attribute defined. How should I define the URL-MAPPING of the PrettyFace for access the same URL for view and submitting the same URL for the action.

<url-mapping id=”generalcomplaint” >

<pattern value=”/generalcomplaint/” />

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

</url-mapping>

Here is the generated HTML of the complaint.jsf

Submit <//a>’

The Attachment is the Temper data catched by the Firefox when I tried to click on the commandLink element.

[attachment=5546,83]