drgorb tapestryforums.com> writes:
> I try to use getContainer() inside a component to get at its parent, but the
> method allways returns the page object, no matter what.
Try:
class Record ... {
final static String KEY="ActiveRecord";
void prepareForRender(IRequestCycle cycle) {
supe
Very strange meaning then. Usually getContainer() or
something like that means exactly that what drgorb
expected. I would say that getContainer() name is
misleading and should be changed.
--- Mind Bridge <[EMAIL PROTECTED]> wrote:
> I think you misunderstand the meaning of what
> getContainer() d
I think you misunderstand the meaning of what getContainer() does.
Suppose page A includes component B in its template, and component B
includes component C in its template in return. C.getContainer() will
return the B component.
On the other hand, if page A includes both components B and C in