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

5.4 LinkSubmit does not work with Prototype JS

    XMLWordPrintableJSON

Details

    Description

      The LinkSubmit component does not submit the form, when (the default) Prototype library is used. It works fine with jQuery.

      The "submit" event and then "prepareForSubmit" are emitted, but then I lost track of the event chain.

      Minimal example:

      <t:form t:id="names">
          <t:label for="firstName"/>
          <t:textfield t:id="firstName"/>
          <t:linksubmit>Submit</t:linksubmit>
      </t:form>

      Workaround: Switch to jQuery.

      Tested on Tapestry 5.4.3 and 5.4.2 / Oracle JDK 1.8.0_181

       

      Attachments

        Activity

          People

            thiagohp Thiago Henrique De Paula Figueiredo
            enlo Beat Durrer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: