chkal/pf-issue-test — Issue #110: Late injection into Beans
Author: chkal
Created: 2012-03-06 07:37:33+00:00
State: open
Labels: Type-Defect

Originally filed by **ZhomartS...@gmail.com** on 2011-06-05T12:38:41

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=112

Thread where it discussed:
http://ocpsoft.com/support/topic/late-injection-with-postback-query

Examples, version number could be found in the above link.

What steps will reproduce the problem?
1. Parameter mapping to bean field in pretty-config.xml
2. Usage of that parameter in c:if's test attribute.
3. Postback query, parameter is used during the RESTORE_VIEW phase, before it initialized, it causes a lot of problems if Lazy loading used and just builds incorrect tree.

Documentation guarantees that values would be initialized before any phase, but that's not true for now.

I think problem exists in all version.

Please provide any additional information below.