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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          18d 10h 15m 1 Howard M. Lewis Ship 06/Nov/08 21:25
          In Progress In Progress Closed Closed
          16m 24s 1 Howard M. Lewis Ship 06/Nov/08 21:41
          Howard M. Lewis Ship made changes -
          Fix Version/s 5.0.16 [ 12313427 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          Howard M. Lewis Ship made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Howard M. Lewis Ship made changes -
          Assignee Howard M. Lewis Ship [ hlship ]
          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.
          Joost Schouten made changes -
          Link This issue duplicates TAP5-251 [ TAP5-251 ]
          Joost Schouten made changes -
          Field Original Value New Value
          Attachment autocomplete_patch.txt [ 12392430 ]
          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(....);
          Joost Schouten created issue -

            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