Tapestry 5
  1. Tapestry 5
  2. TAP5-364

BeanEditForm should include the same autofocus parameter that Form has

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Tapestry creates this javascript to auto focus on the first form field.

      Tapestry.DEBUG_ENABLED = true;
      Tapestry.onDOMLoaded(function() {
      $('textarea').activate();
      });

      It would be nice to toggle this feature on and off. Currently I have a form at the bottom of a large page. I would like to prevent the browser from auto scrolling to the bottom of the page to focus on the form.

      If there is already a workaround please let me know

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        54d 17h 48m 1 Howard M. Lewis Ship 13/Jan/09 00:09
        In Progress In Progress Closed Closed
        6h 26m 1 Howard M. Lewis Ship 13/Jan/09 06:35
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.1.0.0 [ 12313428 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Summary BeanEditForm auto-focus BeanEditForm should include the same autofocus parameter that Form has
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Igor Drobiazko [ igor.drobiazko ] Howard M. Lewis Ship [ hlship ]
        Igor Drobiazko made changes -
        Field Original Value New Value
        Assignee Igor Drobiazko [ igor.drobiazko ]
        brad created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development