when an actionform creates an integer field, do a trim() or at least utter an
error message
-------------------------------------------------------------------------------------------
Key: STR-3136
URL: https://issues.apache.org/struts/browse/STR-3136
Project: Struts 1
Issue Type: Improvement
Affects Versions: 1.3.9
Reporter: Ralf Hauser
currently, when I enter in an integer form field e.g. "12 ", the form arrives
in my struts Action with the default value (0 or -1)
if there were a trim() during the conversion, lots of user input errors could
be avoided without risking to err ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.