Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1350

Autofocus first enabled field on a form

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • Plugin - Tags
    • None

    Description

      The SAF2 UI tags do not support identifying a field to focus. In SAF1, this is done with a little Javascript. For SAF2, we migth consider using a different Javascript [1] that automatically seeks the first enabled field on the first form. Implementing the feature implies access to the body tag.

      References:
      [1] http://www.codeproject.com/jscript/FocusFirstInput.asp
      [2] http://forums.opensymphony.com/thread.jspa?messageID=67350&#67350

      Attachments

        Activity

          People

            musachy Musachy Barroso
            husted Ted Husted
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: