-
1. Re: How to troubleshoot navigation rules problems
bleathem Dec 13, 2013 4:48 PM (in response to markus_n)What version of JSF and RichFaces? Are you using Seam?
If it's for JSF 1.x make sure you've made the appropriate additions to the faces-config.xml file.
-
2. Re: How to troubleshoot navigation rules problems
markus_n Dec 16, 2013 4:49 AM (in response to bleathem)Unfortunately, I am stuck in very old versions, because the customer won't pay for the effort I would need to put in an upgrade: I am using RichFaces 3.1.6 GA on top of MyFaces 1.1.9
Yes, i have added a corresponding navigation rule in faces-config.xml file. I did this also by duplicating an existing one and editing the copy. To prevent typos in any IDs and keys, I always use the clipboard for them.
-
3. Re: How to troubleshoot navigation rules problems
bleathem Dec 16, 2013 2:07 PM (in response to markus_n)Is your navigation element in an h:form?
-
4. Re: How to troubleshoot navigation rules problems
markus_n Dec 17, 2013 5:09 AM (in response to bleathem)Yes.
Maybe I should describe a bit more detailed what I did:
There was a group of command links in a <ul> ... </ul>. I duplicated and edited one of them. So, the new one is in the same h:form as the existing ones.
Then I duplicated the navigation case in the faces-config.xml the same way.
Then I created the corresponding bean method for the new command link.
As I wrote, I am always using the clipboard for IDs and keys, and return codes to prevent typos.