Hi,
I tried to inject some values to an action via the param-element, but it
doesn't seem to be working. See example config below. I set a breakpoint
with a debugger, and the setter methods of the two properties (minValue and
maxDecimalPlaces) don't ever get invoke, even though the "myMethod" did. Is
this a known issue, or should I open up a JIRA issue ?
(I am using struts-2.0.11.1 and therefore xwork-2.0.4.)
Thanks,
Hanson
<struts>
<package name="mypackage" extends="struts-default">
<action name="MyAction_myMethod"
class="my.action.MyAction"
method="myMethod"
>
<!--
The param-element doesn't seem to be working;
So using the default values in the class for now.
-->
<param name="minValue">0</param>
<param name="maxDecimalPlaces">2</param>
<interceptor-ref name="fileUpload">
<param name="maximumSize">100000</param>
<param name="allowedTypes">text/plain</param>
</interceptor-ref>
<interceptor-ref name="basicStack" />
<result name="input">/jsp/MyPage.jsp</result>
<result name="success">/jsp/RetroCharge.jsp</result>
</action>