Dusko, thanks for the response. I'm actually using the jQuery autocomplete,
so controls.js is irrelevant. It looks like it happens in
jquery.ui.autocomplete.js around line 273.

What I don't get is, why does the onValueChanged event NOT get triggered
when the value is changed via a mouse click on the autocomplete list? It
seems like a bug to me...


On Tue, May 28, 2013 at 1:38 AM, Dusko Jovanovski <dusk...@gmail.com> wrote:

> Autocomplete only triggers the EventConstants.PROVIDE_COMPLETIONS event.
> Take a look at the onClick function in controls.js (line 183) (Tapestry
> 5.3). That's the place that you need to modify to get the desired behavior.
>
>
> On Mon, May 27, 2013 at 11:25 PM, George Ludwig <georgelud...@gmail.com
> >wrote:
>
> > I've got a custom textfield that uses the autocomplete mixin. Everything
> is
> > working great except that when the user clicks on an item in the
> matchlist,
> > the onValueChanged event is not triggered.
> >
> > I'm it's possible, but I'm in over my head. As far as I can tell, I would
> > need to trigger an event based on a clicked or mouseup event from the
> > matchlist. The problem is, the matchlist is generated dynamically, so I
> > don't know how to dynamically attach a callback to something that is
> itself
> > dynamically generated.
> >
> > Any ideas??
> >
>

Reply via email to