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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3, 5.4
    • 5.3.1, 5.4
    • tapestry-core

    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?

      Attachments

        Issue Links

          Activity

            People

              mlusetti Massimo Lusetti
              hlship Howard Lewis Ship
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: