Tapestry 5
  1. Tapestry 5
  2. TAP5-1124

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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

      1. TAP5-1124.patch
        0.5 kB
        Dustin Woods

        Activity

        Hide
        Dustin Woods added a comment -

        Patch attached

        Show
        Dustin Woods added a comment - Patch attached

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development