Tapestry
  1. Tapestry
  2. TAPESTRY-1268

setting focus=false on EventListener doesn't prevent focus from being claimed on form elements

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.2
    • Component/s: XHR/dhtml/Ajax
    • Labels:
      None
    • Environment:
      browser

      Description

      setting the focus attribute to false on the EventListener annotation should prevent any focus from being claimed on a form unless client validation is on.

        Activity

        Hide
        Jesse Kuhnert added a comment -

        Doh! Was using the internal IRequestCycle.setAttribute() logic to set the focusing value but those attributes are cleared just after rewind. Introduced new "global to cycle" value that can be checked/set independently of rewind/normal render.

        Show
        Jesse Kuhnert added a comment - Doh! Was using the internal IRequestCycle.setAttribute() logic to set the focusing value but those attributes are cleared just after rewind. Introduced new "global to cycle" value that can be checked/set independently of rewind/normal render.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development