Github user yasserzamani commented on the issue:

    https://github.com/apache/struts/pull/153
  
    > Thanks a lot :) I see now what's going on but have no idea why :\
    
    @lukaszlenart , as I debug, the trace is `object factory creation` then 
`set1 (inject it's 1st property)` then `set2 (inject it's 2nd property)` ... 
then ...  then `setK (inject it's Knd property)` then `your PostInit.init()` 
which reaches this object factory with null container ...  then `setN (inject 
it's Nnd property)`  finally `setContainer (inject it's container property)`.
    
    As you see, if you would like to make it works, the `ObjectFactory` itself 
has to implement `PostInit` and do followings in it's `init()`:
    
    ```java
    processRequired("struts-default-conversion.properties");
    process("xwork-conversion.properties");
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to