cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Fagnani-Bell <>
Subject Re: How to access the ObjectModel-Map within a component?
Date Thu, 06 Nov 2003 20:21:10 GMT
I do this with some of my components, and as far as I know the only way 
to do it is to pass the ObjectModel from an Action, Transformer, or 
Generator. The way the component manager works though, your component 
will only be valid within the scope of the component you request it 
from (i could be wrong, but this has been my experience). So if you 
load your component from an action, and pass it the request, and plan 
on using that component in your generator as well, you'll have to set 
it up all over again.

This is assuming you have some custom action or generator in your 
pipeline. If you're using off the shelf actions and generators then I 
don't see how you could access your component.


On Thursday, November 6, 2003, at 09:45  AM, Stephan Coboos wrote:

> Hello,
> I have developed a Avalon-Component (No Transformer, generator, aso.) 
> which
> is accessible with the Component Manager. Within this Avalon-Component 
> I
> need access to the ObjectModel to extract the Cocoon request object. 
> But how
> do I get this object?
> Thank you!
> Regards
> Stephan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message