Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1124

FormEventManager.setSubmittingElement(element) creates input element with type="input"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • tapestry-core
    • None

    Description

      In cases where a form exists but the Form component is not used a visible text box appears after submitting the form.

      I think the code below:

      this.submitHidden = new Element("input", {
      type : "input",
      name : "t:submit"
      });

      should be changed to:

      this.submitHidden = new Element("input", {
      type: "hidden",
      name : "t:submit"
      });

      Thanks

      Attachments

        1. TAP5-1124.patch
          0.5 kB
          Dustin Woods

        Activity

          People

            hlship Howard Lewis Ship
            dustinywoods Dustin Woods
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: