Re: Accessing Request Scoped Bean From DynaView Method

Splash Forums PrettyFaces Users Accessing Request Scoped Bean From DynaView Method Re: Accessing Request Scoped Bean From DynaView Method

#21921

I not sure if your setup will work. PrettyFaces will forward the request internally after the view determination (dynaview method call). In theory request scoped beans should survive this forward. But this may depend on the concrete container your are using. Do you use CDI, Spring or anything else?

However I think it is rather uncommon to set parameters on foreign beans from a dynaview method. Could you perhaps describe the problem you are trying to solve? Perhaps there is a simpler way to achieve it.

Christian