On 04.Dec.2001 -- 05:45 PM, Sylvain Wallez wrote:
> Stefano Mazzocchi a écrit :
> >
> > Sylvain Wallez wrote:
> >
> > > Why is a new "map:variable" needed ? As for now, map:redirect doesn't
> > > have parameters, but we could define the semantic for parameters of
> > > map:redirect as sitemap parameters that are set prior to calling the
> > > resource. This would lead to the following :
> > >
> > >
> > >
> > >
> > >
> > > So -1 for map:variable : we should extend the use of the existing
> > > map:parameter feature to map:redirect.
> >
> > Ok, no problems with that.
> >
> > > Now could you please explain "map:call" ? Is it to replace
> > > "map:redirect-to" for resources ?
> >
> > No, well, my reasoning was that
> >
> > >
> > >
> > >
> > >
> >
> > would, semantically, be a "call" rather than a redirection, don't you
> > think?
> >
> > So, map:redirect-to would be kept for back-compatibility but without
> > parameters, while map:call with be the new (favorite?) method for
> > calling resources by passing parameters.
>
> +1
>
> > We must provide back compatibility, but we never said that we could not
> > improve on the sitemap semantics.
OK, since the discussion petered out around here and I got the
impression that we were agreeing on this I have added
to sitemap.xsl
I haven't updated the docs (actually I have but I didn't commit them)
just in case I was wrong. If I receive no objections, flames, bombs or
similar I will update the docs on monday / tuesday.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org