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

#21924

paulcartmell
Participant

Hi Christian

The problem is outside of anything to do with PrettyFaces; the request scoped bean is managed by JSF.

I’ve done some testing with the following environments:

Test One –

Glassfish 2.1

JSF 1.2

PrettyFaces 3.3.2

Result: Constructor called once, properties set in DynaView method and retrieved ok.

Test Two –

Glassfish 3.1

JSF 2.0

PrettyFaces 3.3.2

Result: Constructor called twice, once for DynaView and once when accessed by page – obviously the properties will therefore be null.

I’ll try and look into the reasons why when I get a moment and post unless you have any idea?

Thanks

Paul.