cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <>
Subject Re: map:parameter in map:components
Date Thu, 19 Jul 2001 21:06:04 GMT
On Thu, 19 Jul 2001, Sylvain Wallez wrote:

> Hi team,
> I just discovered that many of the new actions/selector/matchers that
> Christian added a week ago rely on <map:parameter name="pname"
> value="pvalue"> for their configuration inside the <map:components>, and
> that a change on AbsctractAction also assumes this syntax for all
> actions.
> I'd like to remind the discussion that we had in May (see
> )
> whose results were :
> - use namespace-less elements for component configuration in
> <map:components>
> - use <map:parameter> for request-time parameters in pipelines.
> Additionnaly, this change introduces a dependency on the "map:" prefix
> in the Java code, and IMHO it's a bad thing to depend on the namespace
> prefix, since only the namespace URI really defines the namespace (we
> still have to fix that in the XSP and Sitemap engines).
> Christian, would you mind if I change the syntax ? It would be great to
> have this fixed for beta 2.

I totally agree with you, Sylvain, and would encourage Christian to
remove the hole configuration part from the AbstractAction at all
because this forces new developer to think of using parameter
elements instead of better ones like <foo>bar</foo>.


To unsubscribe, e-mail:
For additional commands, email:

View raw message