Splash › Forums › PrettyFaces Users › Accessing Request Scoped Bean From DynaView Method › Re: Accessing Request Scoped Bean From DynaView Method
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 –
Result: Constructor called once, properties set in DynaView method and retrieved ok.
Test Two –
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?
If you find our tools useful, please consider making a donation to help us stay online and building software!