Re: [solved] False dispatch on RichFaces AJAX call?

Splash Forums PrettyFaces Users [solved] False dispatch on RichFaces AJAX call? Re: [solved] False dispatch on RichFaces AJAX call?

#20056

What do you mean by “misrouting AJAX requests”? It sounds like your suggestion box is working well. When you browser shows /workorder/racking/edit and the suggestion box sends AJAX requests, these requests will be postbacks to the same URL. So PrettyFaces will process these requests, inject your query parameter AND call the action #{woRackingBean.doEditWO}. This is expected behavior. If you don’t want that your action is executed on postbacks, you can change this by setting onPostback attribute to false.

See:

http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html/Configuration.html#config.actions.postback