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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • tapestry-core
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlship Howard Lewis Ship
            robin.komiwes Robin Komiwes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment