Tapestry
  1. Tapestry
  2. TAPESTRY-1176

Form field focus shouldn't be set on asynchronous submit.

    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: JavaScript, XHR/dhtml/Ajax
    • Labels:
      None
    • Environment:
      Windows XP SP2
      Java JDK 1.5_09
      Tapestry 4.1.1-20061204.001733-13

      Description

      When a form is submitted asynchronously using @EventListener, there should be some way to disable the for setting focus to the first field. I am wondering if it should just be automatically disabled. Certainly for my use case where I am making inline changes to the form fields, it doesn't make sense. I wasn't able to see a way to do this other than disabling it altogether.

        Activity

        Hide
        Jesse Kuhnert added a comment -

        Makes sense. I've added a new "focus" parameter for the EventListener annotation that is false by default.

        Show
        Jesse Kuhnert added a comment - Makes sense. I've added a new "focus" parameter for the EventListener annotation that is false by default.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Reynolds
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development