Beat Durrer created TAP5-2602:
---------------------------------

             Summary: 5.4 LinkSubmit does not work with Prototype JS
                 Key: TAP5-2602
                 URL: https://issues.apache.org/jira/browse/TAP5-2602
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.4.3
            Reporter: Beat Durrer


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

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to