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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              dustinywoods Dustin Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: