Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1868

EventConnectionVisitor.wireFormEvents method doesn't connect auto submit events if the component with the event listener is not a contained in the form

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.1.3
    • None
    • XHR/dhtml/Ajax
    • None

    Description

      	<span jwcid="propertySelectionBlock@Block">
      		<select jwcid="propertySelection@PropertySelection" model="ognl:@com.myexample.DetailsPage@GENDER_MODEL" value="ognl:gender">
      	</span>
      
      	<form jwcid="testForm@Form">
      		<span jwcid="@RenderBlock" block="ognl:page.components['propertySelectionBlock']"/>
      	</form>
      
      @EventListener(targets = "propertySelection", events = "onchange")
      

      In this case the auto submit event is never wired.
      Then if I try to use the "submitForm" parameter

      @EventListener(targets = "propertySelection", events = "onchange", submitForm = "testForm")
      

      Not even the "onchange" event is wired in this case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ascandroli Alejandro Scandroli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: