Ok, my bad, when I claimed success I had been looking at the wrong machine.
I added debugging code (System.err.println) and it shows that the node label is not injected into the bean when I navigate. The <action> method (init) is not called either.
We use an Icefaces form element, and we are using Icefaces 1.8.2 and its compatibility jars (and prettyfaces-jsf2-3.3.4-SNAPSHOT.jar). We are updating an old application and tried to change things in small steps.
These configuration beans are @ViewScoped, the actual navigation menu structure is its own ui:include‘d file. Each URL needs to have the node label which I want to inject in to the beans.
Navigation uses outcomes like “pretty:configadvancedserver”.
Obviously it crashes if the value is not injected. I don’t understand why it doesn’t inject the value.
Still working on a minimal example for this.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.