cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [RT] Access to the object model
Date Tue, 20 May 2003 12:29:12 GMT
Vadim Gritsenko wrote:
> >>(a) is the easiest but less clean way. Note that we already have it 
> >>using (aaargh, I shouldn't say that) 
> >>CocoonComponentManager.getCurrentEnvironment().getObjectModel().
> >>
> >>    
> >>
> >Aaaarrrrrggggghhhh, no everyone knows about it :) Ok, so this discussion
> >is now useless as this little detail is now known to all ;)
> >
> 
> No, it's not that useless at all! Just recently I thought about killing 
> this method (no static methods should be while in avalon realm, right?)
> 
In general yes, but in this case it's a static method that uses some
thread local variables and it's actually a hack to get the sitemap
protocol working - this could be done differently but with much more
effort than it's worse, I think.

Carsten

Mime
View raw message