Reply To: passing values between beans

Splash Forums PrettyFaces Users passing values between beans Reply To: passing values between beans


Hello there!

I believe what you are asking is how do you access the values that PrettyFaces has already injected into your beans via the path parameters you’ve specified in your URLMapping: #{roleTypeTest : findResourceRole.roleType}/#{iid :}

If this is the case, then my suggestion would be to @Inject the FindResourceRole bean into your ManageResourceRole bean so that you can programmatically access them via the java API:

However, using CDI is the preferred approach here:

I hope this helps,