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: Variable Expanders
Date Fri, 11 Oct 2002 06:06:25 GMT
Stefano Mazzocchi  wrote:
>   1) from the user's point of view, input modules act as namespaced 
> sitemap variables (you said that)
> 
>   2) that means that just like the user knows that type="xslt" will 
> match the transformer associated with 'xslt', the variable 
> {request:skin} will match the 'skin' attribute in the input module named 
> 'request'
> 
> so, question:
> 
>   why aren't you declaring them in the sitemap?
> 
+5

> also
> 
>   why not calling them something more specific than InputModules?
> 
> Take a look at this
> 
> <map:sitemap>
> <map:components>
>   ...
>   <map:expanders>
>    <map:expander name="A" src="..."/>
>    <map:expander name="B" src="..."/>
>   </map:expanders>
>   ...
> </map:components>
> 
> ...
> 
> <map:expanders-sets>
>   <map:expander-set name="blah">
>    <map:expand type="A"/>
>    <map:expand type="B"/>
>   </map:expander-set>
> </map:expander-sets>
> 
> ...
> 
> </map:sitemap>
> 
> isn't it more precisely describing what you want to achieve?
> 
+1

And with this new name we can keep the more general InputModules 
as they are. Sounds good.

Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message