Ok, here is my Java test case with an empty project and Struts 2.3.4:
http://dl.free.fr/iE0hoDdIR
Have a look to com.opensymphony.xwork2.interceptor.MyParamsTest:
params.put("getBean('something').name", "That's not my name");
[...]
// <--- !!!!!! test assertion failure
assertNotSame("That's not my name", ((AnotherSimpleAction)
proxy.getAction()).getBean("something").getName());
The public method is invoked... maybe it's the expected behavior.
But I don't reproduce the conversion error unlike with my project...
--
View this message in context:
http://struts.1045723.n5.nabble.com/ParamsInterceptor-is-input-bean-getFoo-bar-name-supposed-to-work-tp5710056p5710063.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]