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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2
    • 5.2.0, 5.1.0.6, 5.1.0.7
    • tapestry-core
    • None

    Description

      This is a clone of TAP5-389 which was closed as CNR. This still IS an issue with 5.2-SNAPSHOT. Clicking on the link generated by linksubmit in the following example will not trigger linksubmit's selected event. The output is always just "form was submitted".

      <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
      <t:form zone="zone">
      <t:zone t:id="zone">
      <t:select value="type" />
      <t:linksubmit t:id="submit">submit</t:linksubmit>
      </t:zone>
      </t:form>
      </html>

      public class Test
      {
      public enum Types

      { TYPE1, TYPE2, TYPE3; }

      @Property private Types type;

      void onSelectedFromSubmit()

      { System.out.println("linksubmit was used"); }

      void onSuccess()

      { System.out.println("form was submitted"); }

      }

      Attachments

        1. TAP5-779.txt
          4 kB
          Ulrich Stärk
        2. TAP5-779-5.1.txt
          4 kB
          Ulrich Stärk

        Issue Links

          Activity

            People

              igor.drobiazko Igor Drobiazko
              ulrich.staerk Ulrich Stärk
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: