How to add a navigation case to a JSF project using netbeans
I have simple JSF2 application running on glashfish 3.1. I want to add a new index page, not change the actual one, but to s开发者_StackOverflow社区et a new one that links me to the actual one, I have managed to set the welcome page to index1 (my new page). xhtml and set my link:
<h:commmandLink action="/index/List">
But when I test it I get Cannot find navigation case matching id...
.
I've set index1
by:
<welcome-file>faces/*index1.xhtml</welcome-file>
But when I go to faces-config.xml it shows me the pageflow but no xml tags, so where do I fix this?
Got It solved. needed to remove LIST
精彩评论