Splash › Forums › PrettyFaces Users › Welcome to the new Support Forum for PrettyFaces
This topic contains 3 replies, has 2 voices, and was last updated by Lincoln Baxter III 7 years ago.
Please post any questions, feedback, or issues here. Thank you, and enjoy!
Message text will now be included in notification emails.
Here is a mapping rule within my pretty-config file:
I go to this adress:
– my article.xhtml jsf page is loaded
– my articleBean has its id set to 1
– the boolean find() method is invoked
This is what I expected.
a forward in attempt to a page called ‘true’ or ‘false’..??
Since I am in Development stage, I can see this error message:
“Impossible de trouver un cas de navigation correspondant depuis l’ID de vue ‘/article.xhtml’ pour l’action ‘/article.xhtml’ avec le résultat ‘false’. ” (fr)
“Impossible to find a corresponding navigation case/rule from the view id ‘/article.xhtml’ for the action ‘/article.xhtml’ with result ‘false’.”
I though that the action tag was meant to call bean method, but it seems that the return value of those methods are used to somehow forward/redirect to another page after the method call.
Is it normal?
Yes, the return value of <action> methods is used to invoke JSF navigation. If you don’t wish to invoke navigation, you should return “”, null, or make the function void.
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!