I think this is the "standard" way of getting the clientId of the mixin's container:
@InjectContainer private ClientElement container; On Tue, Mar 31, 2009 at 10:24 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 31 Mar 2009 17:21:07 -0300, Fernando Padilla <f...@alum.mit.edu> > escreveu: > > What is the best way to get the component a mixin i applied to, from >> within the mixin? >> >> I want to access the clientId of the component that the mixin has been >> tied to. How would I do that? >> > > I guess it is by using @InjectComponent: > > @InjectComponent > private YourComponent component; > > component.getClientId(); > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >