I've figured how to do it!

You need to use the container properly to populate all the fields with
@Inject annotated setters. It's another reason why I don't like auto-wiring.
I know it's powerful and when you're familiar with the codebase it's simple
but it makes stepping through the code a nightmare as object creation and
population is done by voodoo.

If anyones is interested let me know and I'll post the code.

Martin
-- 
View this message in context: 
http://www.nabble.com/Unit-Testing-Actions-with-Annotation-based-validation-in-Struts-2.1.6-tp25800676p25869302.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