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

        Dustin Woods created issue -
        Dustin Woods made changes -
        Field Original Value New Value
        Attachment TAP5-1124.patch [ 12443386 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]

          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