I'm facing an issue with Struts 2.0.14 where it would automatically wire a
new object instance for any null property.
I wasn't aware of this feature and it really comes as a surprise. At first I
wanted to disable it.
It comes from Xwork InstantiatingNullHandler:104
-->Object param = createObject(clazz, realTarget, propName, context);

This is conditional to a xwork.NullHandler.createNullObjects property in the
context.
I have unsuccessfully been trying to set that to OFF.
>From a couple of posts, this seem to be triggered by the SpringStruts
plugin, which we are using.

Now I'm wondering whether this is a *new* Struts2 feature and a best pratice
or if it happens incidentally when using the plugin.

thanks for any help.
-- 
View this message in context: 
http://www.nabble.com/Struts2-autowiring-null-properties----tp25506595p25506595.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to