cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23678] New: - [Woody] A bug in Submit class [never validate the form], with a simple fix.
Date Wed, 08 Oct 2003 16:31:02 GMT
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=23678>.
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=23678

[Woody] A bug in Submit class [never validate the form], with a simple fix.

           Summary: [Woody] A bug in Submit class [never validate the form],
                    with a simple fix.
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: ramy@imkenberg.de


org.apache.cocoon.woody.formmodel.Submit never validated the form after
submition, due to a simple bug.

The validateForm boolean variable was ignored, a simple fix is to add :

this.validateForm = validateForm;

public Submit(ActionDefinition definition, boolean validateForm) {
        super(definition);
        this.validateForm = validateForm;
}

And <wd:submit> works fine after doing that.

Mime
View raw message