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

Linksubmit doesn't work inside a form with Zone parameter set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 5.0.17
    • None
    • tapestry-core
    • None

    Description

      When LinkSubmit is placed inside a form with Zone parameter, the following part of linksubmit.js will not do the right thing.

      if (onsubmit == undefined || onsubmit.call(window.document, event))
      {
      this.createHidden();
      this.form.submit();
      }

      createHidden() is not called so no hidden field is thus inserted.
      Removing 'zone' parameter from Form component fixed this immediately.

      Attachments

        1. Test.java
          0.9 kB
          Anton Litvinenko
        2. Test.tml
          0.9 kB
          Anton Litvinenko

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              henrychen Henry Chen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: