cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r156459 - in cocoon/trunk/src: blocks/xsp/java/org/apache/cocoon/components/language/programming/java/JavaProgram.java java/org/apache/cocoon/sitemap/ContentAggregator.java java/org/apache/cocoon/sitemap/DefaultContentAggregator.java
Date Tue, 08 Mar 2005 23:18:35 GMT
Sylvain Wallez wrote:
> Vadim Gritsenko wrote:
> 
>> sylvain@apache.org wrote:
>>
>>> Added:
>>> cocoon/trunk/src/java/org/apache/cocoon/sitemap/DefaultContentAggregator.java
  
>>> (with props)
>>> Modified:
>>> cocoon/trunk/src/java/org/apache/cocoon/sitemap/ContentAggregator.java
>>
>>
>> Are you sure that you meant to checkin these two files?
> 
> 
> Yes, of course. The new proxied-poolable feature recently added by 
> Carsten prevents casting a looked-up component to a specific class, as 
> the returned object is a proxy. That led to ClassCastExceptions.
> 
> That's why I introduced an additional interface for ContentAggregator, 
> as AggregateNode in TreeProcessor expects the generator used for 
> <map:aggregate> to be one to which the various <map:part> can be added.

Got it, thanks.

Vadim

Mime
View raw message