jsf - Navigation not working -


i have simple jsf application. works fine, not navigation. behaves <navigation-rule>s not there. in faces-config.xml have navigation rules like:

<navigation-rule>   <from-view-id>/view/party/create/create.xhtml</from-view-id>   <navigation-case>     <from-outcome>edit</from-outcome>     <if>#{partycreate.partytypesearch.code == partytypedao.organisation.code}</if>     <to-view-id>/view/party/create/edit-organisation.xhtml</to-view-id>     <redirect />   </navigation-case> </navigation-rule> 

but when click button on create.xhtml page, message:

unable find matching navigation case from-view-id '/view/party/create/create.xhtml' action '#{partycreate.displayparty}' outcome 'edit'

what can causing it? have second application settings pretty same, , there navigation works fine. how can debug check wrong? there no error messages while initialization etc.

the declaration looks fine. perhaps <if> condition points wrong property names or returned unexpected property values. test 1 , other, remove <if> declaration or run debugger. if in vain, try remove <from-view-id> (so view source valid) exclude being cause.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -