You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/10/08 18:31:02 UTC

DO NOT REPLY [Bug 23678] New: - [Woody] A bug in Submit class [never validate the form], with a simple fix.

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.