You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/10/25 11:51:47 UTC
DO NOT REPLY [Bug 24119] New: -
warn if form values initialized
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24119>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24119
warn if form values initialized
Summary: warn if form values initialized
Product: Struts
Version: 1.0 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Unknown
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: hauser@acm.org
especially, when a checkbox Boolean is initialized (not in a form constructor,
but upon variable declaration), it shows odd behaviour:
if the default is false, all seems fine.
if the default is true, the form sets the value to true even the user never
checked anything.
Probably, when it is false, it is considered unchanged by user input while if it
is set true, it assumes that there is user input even though there isn't any.
==> Suggestion:
Warn if form variables are initialized.
- at least in debug mode.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org