The source component will be the Layout component, not the TextField inside the layout component. This is part of event bubbling; when an event bubbles, the source of the event bubbles up as well.
On Thu, Oct 6, 2011 at 9:10 AM, Dimitris Zenios <dimitris.zen...@gmail.com> wrote: > Hi guys. > > I have a layout component which has a textfield inside it with > autocomplete mixin and an id of "layoutSearch".Some pages now that use > the layout would like to provide completion for that text field.The > problem is that i cannot reference that component from the page like > this. > > @OnEvent(value=EventConstants.PROVIDE_COMPLETIONS,component="layoutSearch") > > > Any idea how can i fix that? > > Dimitris Zenios > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org