Hi,
I finally tested my code on a new project, but I didn't reproduce the
fielderror.
Finally it appears that "bean.getFoo('bar').name" works well. I don't know
from where I was getting the fielderror on my other project, but it's not
related to Struts - sorry!
--
View this message in context:
h
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 m
Thanks Maurizio. I understand this kind of expression is not recommended for
security reasons, and this is probably a good thing if such expressions were
not evalued by default.
But it appears that such expression IS evalued, the setter is invoked with
the correct value. That's why I think there i
Hi,
I have the following form submitted to a Struts2 action:
Is this input name supposed to work with ParamsInterceptor?
Actually Bar.setName() is successfully set with the correct value, but it
also adds a conversion error (xwork.default.invalid.fieldvalue) for this
field and action is returni
4 matches
Mail list logo