cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [RT] Using modifiers within Cocoon components
Date Thu, 01 Jan 1970 12:40:48 GMT

On Tuesday, Oct 7, 2003, at 10:31 Europe/Rome, Stephan Michels wrote:

> Hi,
>
> how about using modifiers like "private" and "public"
> within the sitemap to expose the components for the next coming
> blocks. Instead of exposing the components within the block
> descriptor.
>
> <map:sitemap>
>  <map:components>
>   <map:generator name="myGenerator" modifier="public"/>
>   <map:generator name="file" modifier="private"/>
> [...]

I like the concept, prevents from people misinterpreting the contract 
between blocks.

the suggested "access" attribute name is probably a better choice, 
though.

> We could use the same syntax for the so called interal pipelines
>
> <map:pipeline modifier="private">
> [...]
>
> We could use two different component managers for each sitemap to 
> manage
> these components, this should make the lookup easier.

I like this as well. internal-only="true" sounds hacky.

what do others think?

--
Stefano.


Mime
View raw message