You are right, the parent of the parent got it :) It is on the html tag :S
On Wed, Jun 26, 2013 at 12:10 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 25 Jun 2013 19:03:26 -0300, Boris Horvat <horvat.z.bo...@gmail.com> > wrote: > > By that I assume you mean just to define the mixin? Yea I have tried that >> nothing happened :( >> > > Believe me, something happened. Try giving it some CSS class and using > Firebug or something like that to locate the element with that CSS class. > It's probably the parent element of the HTML you generated in your > component. Please check this. > > > I guess then I will have to go with some custom logic that will identify >> what is the element that needs to receive this >> > > The easier way is for the component to give an explicit HTML id to it and > then using writer.getDocument().**getElementById(id) to get the element. > > and then to add it using >> ComponentResources.****renderInformalParameters(): >> > > This method accepts MarkupWriter, so you'll not be able to use it. On the > other hand, you have ComponentResources.**getInformalParameterNames() and > getInformalParameter() and Element.forceAttribute(), so you can implement > it. > > > -- > Thiago H. de Paula Figueiredo > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Sincerely *Boris Horvat*