That is a great idea. I've done so and attached a patched Grid.java https://issues.apache.org/jira/browse/TAPESTRY-2775
> We have a lot of committers Of course, sorry about that and thank you all for your work on Tapestry. -----Original Message----- From: Igor Drobiazko [mailto:igor.drobia...@gmail.com] Sent: Donnerstag, 20. Januar 2011 11:57 To: Tapestry users Subject: Re: Grid and clientId You could fill a JIRA issue and provide a patch. BTW Howard is not the only one who could apply it. We have a lot of committers. See here: http://tapestry.apache.org/about.html On Thu, Jan 20, 2011 at 11:47 AM, Wechsung, Wulf <wulf.wechs...@sap.com>wrote: > > Thanks the response! Since I wanted the mixin to work seamless I went with > copying the Grid, extending it to implement ClientElement and delegating the > new getClientId() to the "Any table" component. Hopefully Howard will > consider changing the official Grid in a similar manner. > > Kind Regards, Wulf > > > -----Original Message----- > From: Igor Drobiazko [mailto:igor.drobia...@gmail.com] > Sent: Mittwoch, 19. Januar 2011 17:35 > To: Tapestry users > Subject: Re: Grid and clientId > > Just provide a value for the informal parameter id. > > <t:grid id="foo"></t:grid> > > On Mon, Jan 17, 2011 at 5:53 PM, Wechsung, Wulf <wulf.wechs...@sap.com > >wrote: > > > Hello fellow tapestriants, > > > > I'm trying to do a mixin for grids. As usual, the mixin does some > > javascript which I output in the @AfterRender of the mixin. Naturally, in > > the javascript I would like to reference the client-side representation > of > > the element that is being "mixed into" (the grid's table). As per copy > pasta > > from t5.corelib.mixins.Autocomplete I would like to @InjectContainer Grid > > grid and then simply do grid.getClientId(). Unfortunately Grid does not > > implement t5.ClientElement. > > > > Is this a bug? > > > > How can I : > > - make the Grid allocate an id for the table > > - render it out, > > - access the allocated id > > > > Ideally all this would be triggered by the mixin so that the mixin could > > take any plain old grid. > > > > Thanks and kind Regards, > > Wulf > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > -- > Best regards, > > Igor Drobiazko > http://tapestry5.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org