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,
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
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
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
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
meter somhow in the
> * fashion of containerName.componentName
> */
> element.attribute(ATTRIBUTE_NAME, shortcut);
> }
>
> @Override
> public void elementDidStart(Element element)
>
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.
--