I've been running my debugger to try to determine what is available to
the components at various points during rendering. As far as I can see
there is very little information provided regarding what other
components exist anywhere else in the page. The only thing I can get
for sure is the Page. However, even drilling back down from that level
shows that the page doesn't even know what components are in it.

I think this would be a valuable addition to T5. Environmental isn't
sufficient in many cases because you can only pass data one way using
this approach. It would be very useful to be able to traverse the
component graph at some point, maybe even before rendering, to setup
any objects that might require cooperation.

Maybe something already exists and I'm missing it. If so, please fill me in.

On 7/30/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> BTW _resources.getComponentModel().getEmbeddedComponentIds() would be
> really really useful if it didn't return an empty list every time
> during my testing. Is there any way for a component to know what it
> contains?
>
> On 7/30/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> > I've found out how to pass data between components so long as it's
> > downstream. Is there a way to pass data from a component (B) that is
> > physically below another component (A) to component A?
> >
> > I've found that performing any data passing (per situation above)
> > during the RenderSetup, etc. methods using either ComponentResources
> > or Environment is useless since the previous components have already
> > finished rendering.
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to