This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I recently added facelets ability to my web app based on JSF
I have added a header.xhtml so it will be displayed on top of each page...
now i want to add a link inside the header, link which will take the user to the "Home" of the webapp, something like this:
and i added to faces-config.xml the following mapping :
but it does not work... the only way i managed to make it work is to add a mapping into faces-config.xml which will point from each page for example TestMenu.xhtml in my web app to the /MainMenu.xhtml using this <from-outcome>Home</from-outcome> like this:
But... I don't want to use this solution cause it'll force me to add allot of mapping into the faces-config.xml file...
How can i solve this problem with minimum edit inside the faces-config.xml file?
[ October 23, 2008: Message edited by: Daniel Reznick ] [ October 23, 2008: Message edited by: Daniel Reznick ]