In my opinion, @InjectContainer is a bit fragile. I think you're much
better off using the Environment or a component parameter. Let's consider a
future case where you want to render the child component in a loop (or
maybe an 'if' component). In this case the parent will be the loop/if and
it won't
On Fri, 13 Feb 2015 16:44:52 -0200, Poggenpohl, Daniel
wrote:
Hello,
why don't you try @InjectContainer? Or give the necessary information
via parameters to the inner component?
Yep, an @InjectContainer private Object parentComponent; field will give
you the parent component. You can ch
Hello,
why don't you try @InjectContainer? Or give the necessary information via
parameters to the inner component?
Regards,
Daniel Poggenpohl
Von: Erich Gormann [e.gorm...@gormann.de]
Gesendet: Freitag, 13. Februar 2015 18:51
An: Tapestry users
Betreff: H