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.

Ciaran


On 19/06/2009 12:27pm, "Piero Sartini" <[email protected]> wrote:

> Am Freitag, 19. Juni 2009 13:12:02 schrieb DH:
>> I am sure that exception comes out in ajax request, right? RenderSupport is
>> not available in ajax request.
> 
> Nope.. as soon as I try to access the RenderSupport in pageAttached or
> pageLoaded. It is an abstract class - but that shouldn't matter?
> 
> The Page has some AJAX event handlers as well.. maybe that's the problem? I
> now ended up creating a helper component called RenderMyStyle which is
> included in the template.
> 
> That works... but is not very elegant imho.
> 
> Piero
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to