Re: How to resolve the rendered component in a mixin

2012-07-09 Thread Thiago H de Paula Figueiredo
On Mon, 09 Jul 2012 06:41:01 -0300, mem wrote: I'd like to know the variable name of the currently rendered *SUB*component in the afterRender method of my mixin. So when myComponent (which contains i.e. an EventLink component) is rendered i can influence all it's containing subcomponents,

Re: How to resolve the rendered component in a mixin

2012-07-09 Thread mem
11.n5.nabble.com/How-to-resolve-the-rendered-component-in-a-mixin-tp5714315p5714351.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For a

Re: How to resolve the rendered component in a mixin

2012-07-09 Thread Lance Java
apache.org/environmental-services.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-resolve-the-rendered-component-in-a-mixin-tp5714315p5714349.html Sent from the Tapestry - User mailing list archive at

Re: How to resolve the rendered component in a mixin

2012-07-08 Thread mem
rrently rendered component. @Thiago: I tried to inject the container already but i didn't find any method which would assist me with the currently rendered subcomponent, the container itself isn't what i need. I also tried and looked at ComponentResources and JSSupport. -- View th

Re: How to resolve the rendered component in a mixin

2012-07-06 Thread Thiago H de Paula Figueiredo
Answering the question in the subject: @InjectContainer private Object parent; Actually, you can use any type you want, but an exception will be thrown if it the parent component isn't assignable to the field. -- Thiago H. de Paula Figueiredo

Re: How to resolve the rendered component in a mixin

2012-07-06 Thread Muhammad Gelbana
meter somhow in the > * fashion of containerName.componentName > */ > element.attribute(ATTRIBUTE_NAME, shortcut); > } > > @Override > public void elementDidStart(Element element) >

How to resolve the rendered component in a mixin

2012-07-06 Thread mem
t element) { } }); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-resolve-the-rendered-component-in-a-mixin-tp5714315.html Sent from the Tapestry - User mailing list archive at Nabble.com. --