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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to