Tapestry
  1. Tapestry
  2. TAPESTRY-1096

FieldLabel+EventListener breaks Checkbox value

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      WinXP SP2; Tomcat 5.5

      Description

      When an EventListener submits a form with a checkbox in it, if the checkbox has a field label attached to it, it seems to rewind the form twice and set the checkbox's value to false on the second rewind.

      I have attached files that should demonstrate this.

      1. TestPage.java
        1.0 kB
        Peter Beshai
      2. TestPage.html
        0.5 kB
        Peter Beshai

        Activity

        Hide
        Jesse Kuhnert added a comment -

        Right. Resolving for now as the documentation does state why/how this should work this way.

        Still - the FieldLabel component has all kinds of issues and this shouldn't be something someone has to think about.

        Show
        Jesse Kuhnert added a comment - Right. Resolving for now as the documentation does state why/how this should work this way. Still - the FieldLabel component has all kinds of issues and this shouldn't be something someone has to think about.
        Hide
        Peter Beshai added a comment -

        Maybe this is caused by not setting prerender="false" on the FieldLabel (since it comes after the checkbox).

        Show
        Peter Beshai added a comment - Maybe this is caused by not setting prerender="false" on the FieldLabel (since it comes after the checkbox).

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Peter Beshai
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development