Hi, guys !
I got following code in a web.xml:
<navigation-rule>
<from-view-id>faces/authorization.xhtml</from-view-id>
<navigation-case>
<from-action>#{Controller.passCredentials}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>faces/performservice.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{Controller.passCredentials}</from-action>
<from-outcome>failure</from-outcome>
<to-view-id>faces/authdecline.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
Files authdecline.xhtml, performservice.xhtml, authorization.xhtml are present in a Net-Beans project and can be accesssed via a web-browser, once a project is running.
When I run an application, I get following error:
"Unable to find matching navigation case with from-view-id '/authorization.xhtml' for action '#{Controller.passCredentials()}' with outcome 'success' ".
I got this very "success" return string in a method Controller.passCredentials. What is there to be changed, ha ?