Tapestry 5
  1. Tapestry 5
  2. TAP5-1773

FormFieldFocus mixin passes control name, not client id, to JavaScriptSupport.autofocus()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.4
    • Fix Version/s: 5.3.1, 5.4
    • Component/s: tapestry-core
    • Labels:

      Description

      Noticed this while writing up some documentation about dealing with form focus. This works in simple cases where the control name and the client id often are the same value, but won't work in other cases (especially Ajax ones).

      In addition, it is not clear why this mixin is attached to a Form and takes a Field as a parameter rather than attaching to a Field and taking no parameters?

        Issue Links

          Activity

          Massimo Lusetti made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 5.3.1 [ 12319156 ]
          Fix Version/s 5.4 [ 12316401 ]
          Resolution Fixed [ 1 ]
          Massimo Lusetti made changes -
          Assignee Massimo Lusetti [ mlusetti ]
          Massimo Lusetti made changes -
          Field Original Value New Value
          Link This issue is related to TAP5-650 [ TAP5-650 ]
          Howard M. Lewis Ship created issue -

            People

            • Assignee:
              Massimo Lusetti
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development