cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Compatiblity problem in template block
Date Mon, 19 Jun 2006 19:26:45 GMT
Leszek Gawron wrote
> 
> Was this ever intended?

Don't know :)
> 
>> As we have removed the deprecated stuff in the template block and in
>> 2.2, there is no way to access the Parameters object anymore. As a
>> properties object does not allow to iterate over the stored properties,
>> there is no way to simply list all parameters (which makes the samples
>> fail).
>> Because of compatibility I think we can not simply change this code and
>> store the Parameters object under "cocoon.parameters" (although this
>> would make most sense to me). So perhaps using something more verbose
>> like "cocoon.sitemap-parameters" could be used instead?
> 
> This looks more like a hack then a solution. Couldn't we stay with 
> Parameters object but provide some additional helper methods that would 
> simplify the usage and made it more similar to using Properties object?
> 
Sounds good to me: +1

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message