The fact that you can @Inject RenderSupport as well as use @Environmental is something explicitly set up in TapestryModule, to allow non-components access to RenderSupport. The service's implementation simply gets the RenderSupport from the Environment and delegates all method invocations to it.
On Fri, Jun 19, 2009 at 9:41 AM, Piero Sartini <[email protected]>wrote: > > You don't have access to the RenderSupport environmental until the page > is > > actually rendering. So it's available between the setupRender and > > cleanupRender phases, but outside of that (i.e in your > > pageAttached/pageDetached phases) it has not been placed in the > environment > > yet. > > This clears things up, thanks a lot! > > Piero > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos
