Reply To: Error while extracting values from backing bean

Splash Forums PrettyFaces Users Error while extracting values from backing bean Reply To: Error while extracting values from backing bean

#24321

Robert
Participant

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.

Robert