Don't know much about JSF yet - being 'urged' to use it by customer. But if
one of the benefits is that the 'controller' part of mvc is exposed in the
faces-config.xml file - how would one handle navigation from a menu eg. a
jscookmenu where you can navigate to say 25 different destinations ? Surely
you wouldn't have 25 <navigation-case>s for each screen ?


<navigation-rule>
  <from-view-id>/userLogin.jsp</from-view-id>
  <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/userLoginSuccess.jsp</to-view-id>
  </navigation-case>
  <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/userLogin.jsp</to-view-id>
  </navigation-case>
</navigation-rule>

-- 
View this message in context: 
http://www.nabble.com/how-does-navigation-by-menu-fit-in-with-faces-config.xml-file---tf2665844.html#a7434621
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to