Tapestry 5
  1. Tapestry 5
  2. TAP5-297

Provide access to the Autocompleter javascript instance

    Details

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

      Description

      At current there doesn't seem to be a way to access the scriptaculous autocompleter instance when using the Autocompleter mixin because the instance is just instantiated without a reference. The attached patch gives access to this instance.

      In my usecase I build a ForceAutocompleter which works in conjunction with the autocompleter in such a way that it starts to double as a drop down list.

      I would love to see this patch included.

      Cheers,
      Joost

        Issue Links

          Activity

          Hide
          Joost Schouten added a comment -

          patch adding a reference to the autocompleter instance through:

          $T('autocompleterId').autoCompleter = new Ajax.Autocompleter(....);

          Show
          Joost Schouten added a comment - patch adding a reference to the autocompleter instance through: $T('autocompleterId').autoCompleter = new Ajax.Autocompleter(....);
          Hide
          Joost Schouten added a comment -

          Both try to solve the same problem.

          Show
          Joost Schouten added a comment - Both try to solve the same problem.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development