Tapestry 5
  1. Tapestry 5
  2. TAP5-994

Field autofocus should be done via Tapestry.init instead of using $ function

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .

      Currently, the output produced looks like
      $('textfield').activate();

      It is Prototype specific and prevent from migrating to another JS library.

        Activity

        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Robin Komiwes made changes -
        Field Original Value New Value
        Description As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init and() Tapestry.Initializer.Autofocus.

        Currently, the output produced looks like
        {code}
        $('textfield').activate();
        {code}

        It is Prototype specific and prevent from migrating to another JS library.
        As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .

        Currently, the output produced looks like
        $('textfield').activate();

        It is Prototype specific and prevent from migrating to another JS library.
        Robin Komiwes created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development