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(
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
>
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
Hi,
I try to use getContainer() inside a component to get at its parent, but the
method allways returns the page object, no matter what.
Are ther special conditions for this to work? Is there special configuration?
In the following example, the IComponent parent is allways the Home page and