Is there a efficient way to find unused navigation rules in faces-config due to pages removed or outcome never fired?
Thank you in advance.
Is there a efficient way to find unused navigation rules in faces-config due to pages removed or outcome never fired?
Thank you in advance.
I'm not aware of anything within the JSF API/Impl that can accomplish that for you.
However, you can enable logging and keep track of the different navigation cases used.
For example, MyFaces logs the following line from NavigationHandlerImpl#handleNavigation:
You could then collect those logs and figure out which nagivations are not used.