After the page with the URL mapped by pretty faces (e.g.: /myapp/search/coke ) is loaded, when I click on a link (a4j:commandLink) I’m expecting the right method of backing bean be called. What is happening is the same method executed by the URL /myapp/search/coke is being called when I click the link, because the “actionURL” param of the html anchor tag rendered for the component a4j:commandLink is inheriting the same URL “/myapp/search/coke”.
This is happening because when I click a link (a4j:commandLink), the pretty faces filter is receiving the same URL “/myapp/search/coke” and dispatching to direction specified by pretty-faces.xml.
I don’t know if I was a little more clear now!
Maybe the solution is so simple that I can’t see!
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.